How to: Debug Inline Assembly Code

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

NOTE]

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.

Procedure

To debug inline assembly code

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

  2. Use the Registers window to view register contents.

See Also

Debugger Security
Debugging Native Code