开发者

Is it possible to call the JIT debugger window from a c# program?

I was wondering if it was possible via a line of code in C# program to interrupt the execution of the program and make appear the window whic开发者_JAVA百科h allows you to select a debugger to start debugging.

Anthony


Do you mean something like this:

if( System.Diagnostics.Debugger.IsAttached )
    System.Diagnostics.Debugger.Break ();
else
    System.Diagnostics.Debugger.Launch ();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜