开发者

Why does my debugger not attach to my wcf process vs2010?

开发者 https://www.devze.com 2023-03-24 02:25 出处:网络
I have a WCF service that I wrote, and I am trying to debugg some problems that I am having with it.I can attach to the process every now and again, but it is a very much hit or miss kind of thing.Why

I have a WCF service that I wrote, and I am trying to debugg some problems that I am having with it. I can attach to the process every now and again, but it is a very much hit or miss kind of thing. Why on earth is it so hard to attach to a process?

I clean the bin folders of my project before I compile, then copy the whole thing over to the s开发者_如何学Cerver where my WCF process runs... Shouldn't that be enough to correctly load all the symbols?

To get the right process I run a utility, C:\Windows\System32\inetsrv\AppCmd.exe list wps... It list all the WCF processes that are running on the server, I pick the process ID that is associate with my service.

To attach to the process I go the debug menu, click attach to process find the process ID that matches my service, and click attach to process.

Let me ask a general question, when you attach to a process do your symbols always load?

0

精彩评论

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