How to: Debug Inline Assembly Code

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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 Reset settings.

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

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