开发者

Debugging an ongoing .net process

I have a rather annoying bug in a program I'm writing which only ever manifests itself as the program freezing when it is run without the debugger attached. Worker threads stay alive but the main thread freezes and windows fades the window out to white and tells me the program isn't responding.

Is there a way to attach a debugger to an ongoing .net p开发者_开发技巧rocess to discover exactly which method the main thread is frozen in?


You can attach the debugger using Debug > Attach to Process option.

It will list all the processes and you select your process to start debugging.

Debugging an ongoing .net process

Debugging an ongoing .net process


Yes, if you have the right edition of Visual Studio. http://msdn.microsoft.com/en-us/library/c6wf8e4z.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜