How to: Debug Inline Assembly Code


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at How to: Debug Inline Assembly Code.


The dialog boxes and menu commands you see might differ from those described in Help, depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

The debugger provides two windows for debugging inline assembly code, the Disassembly window and the Registers window.

To debug inline assembly code

  1. Use the Disassembly window to view the assembly instructions.

  2. Use the Registers window to view register contents.

Debugger Security
Debugging Native Code