System.Diagnostics.Debugger.Debug() stopped working

后端 未结 4 1859
时光取名叫无心
时光取名叫无心 2020-12-10 13:42

I\'m working on a program which uses the System.Diagnostics.Debugger.Break() method to allow the user to set a breakpoint from the command-line. This has worked fine for ma

4条回答
  •  长情又很酷
    2020-12-10 13:56

    Are you using VS 2008 SP1? I had a lot of problems around debugging in that release, and all of them were solved by this Microsoft patch.

    Breakpoints put in loops or in recursive functions are not hit in all processes at each iteration. Frequently, some processes may pass through many iterations of a loop, ignoring the breakpoint, before a process is stopped.

    Breakpoints are hit, but they are not visible when you debug multiple processes in the Visual Studio debugger.

    There are a few other debugger-related problems also fixed.

提交回复
热议问题