开发者

Debug Visual Studio 2005 Web Service from Visual Studio 2008 Client

开发者 https://www.devze.com 2022-12-25 14:16 出处:网络
I have a .NET Web Service running in VS2005 and a client that consume开发者_运维知识库s it running in VS2008. Is there any way, while debugging the client, I can step into the code of the service? Bot

I have a .NET Web Service running in VS2005 and a client that consume开发者_运维知识库s it running in VS2008. Is there any way, while debugging the client, I can step into the code of the service? Both are running locally.

Many thanks for your time,

P


VS 2008 can debug code built with VS 2005. You can attach to the web service process and debug it as any other process. Note that you might have to start second instance of Visual Studio, since attaching to existing process will stop your current debugging session.


If both projects are configured to start on debug, I think it will step into the service code.

Though you might need to set check the "Don't open a page" radiobutton in the service project propertypages startOptions.

0

精彩评论

暂无评论...
验证码 换一张
取 消