Setting up your Debugging Environment

August 29, 2018 ยท View on GitHub

Debugger Settings

The day-to-day job of a developer that works on Visual Studio involves debugging and inspecting code outside of this repository. For best results, you'll want to flip some of the defaults so that you can can step into (Microsoft-employees only) other Visual Studio, framework and Windows code and inspect locals, fields, etc.

image

image

image

Launch Settings

If you need to debug into native code (for example, msenv.dll, where the solution code lives), you can change your launch settings from ProjectSystem.sln to launch with the native debugger engine:

image

If you are having troubling inspecting variables due to optimizations (assuming Suppress JIT optimization on module load above is checked), you can also try bypassing NGEN images which should improve your debugging experience.