Visual Studio 2015 RTM - Debugging not working

后端 未结 25 2392
感情败类
感情败类 2020-11-30 22:11

I have installed VS 2015 RTM (nothing else) and I\'m unable to debug any solution, not matter if it\'s an existing one or a brand new one (created with VS 2015 and compiled

25条回答
  •  天命终不由人
    2020-11-30 23:03

    I had a problem similar to this when trying to use Debugger.Launch to debug a web application: the JIT Debugger Selection window never appeared. I knew it wasn't a problem with VS debugging mechanism itself because it fired just fine with a console app.

    Eventually a colleague mentioned a "global debugger registry setting" which set off a light bulb.

    I was using Microsoft's DebugDiag some months ago to troubleshoot IIS crashing, and I had a rule registered to capture IIS crash dumps, which obviously (in retrospect) registered the Debug Diagnostic Service as the debugger for w3wp (IIS worker process).

    Removing the rule in DebugDiag, or stopping the Debug Diagnostic Service ("C:\Program Files\DebugDiag\DbgSvc.exe") re-enabled Visual Studio's JIT debugging.

    Hope this helps someone.

提交回复
热议问题