You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/debugger/how-to-use-the-disassembly-window.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: View Disassembly Code in the debugger
3
3
description: Use the Disassembly window in Visual Studio to show assembly code corresponding to the instructions created by the compiler.
4
-
ms.date: 08/15/2023
4
+
ms.date: 04/18/2025
5
5
ms.topic: how-to
6
6
f1_keywords:
7
7
- vs.debug.disassembly
@@ -32,7 +32,7 @@ This feature is only available if address-level debugging is enabled. It isn't a
32
32
33
33
In addition to assembly instructions, the **Disassembly** window can show the following optional information:
34
34
35
-
- Memory address where each instruction is located. For native applications, it is the actual memory address. For Visual Basic or C#, it's an offset from the beginning of the function.
35
+
- Memory address where each instruction is located. For native applications, it's the actual memory address. For Visual Basic or C#, it's an offset from the beginning of the function.
36
36
37
37
- Source code from which the assembly code derives.
38
38
@@ -52,10 +52,10 @@ To view machine-code instructions in their raw numeric form, rather than as asse
52
52
53
53
To enable the **Disassembly** window, under **Tools** > **Options** > **Debugging**, select **Enable address-level debugging**.
54
54
55
-
To open the **Disassembly** window during debugging, select **Windows** > **Disassembly** or press **Alt**+**8**.
55
+
To open the **Disassembly** window during debugging, select **Debug** > **Windows** > **Disassembly** or press **Ctrl** + **Alt** + **D**.
56
56
57
57
> [!NOTE]
58
-
> 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 all settings](../ide/personalizing-the-visual-studio-ide.md#reset-all-settings).
58
+
> The dialog boxes and menu commands you see might differ from those described in this article 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 all settings](../ide/personalizing-the-visual-studio-ide.md#reset-all-settings).
59
59
60
60
To turn optional information on or off, right-click in the **Disassembly** window, and set or clear the desired options in the shortcut menu.
61
61
@@ -69,11 +69,11 @@ When you view memory contents in a **Memory** window or the **Disassembly** wind
69
69
70
70
2. To page up (move to a lower memory address), click the vertical scrollbar above the thumb.
71
71
72
-
You will also notice that the vertical scrollbar operates in a nonstandard manner. The address space of a modern computer is very large, and it would be easy to get lost by grabbing the scrollbar thumb and dragging it to a random location. For this reason, the thumb is "springloaded" and always remains in the center of the scrollbar. In native code applications, you can page up or down, but cannot scroll about freely.
72
+
You'll also notice that the vertical scrollbar operates in a nonstandard manner. The address space of a modern computer is very large, and it would be easy to get lost by grabbing the scrollbar thumb and dragging it to a random location. For this reason, the thumb is "springloaded" and always remains in the center of the scrollbar. In native code applications, you can page up or down, but can't scroll about freely.
73
73
74
74
In managed applications, disassembly is limited to one function and you can scroll normally.
75
75
76
-
You will notice that the higher addresses appear at the bottom of the window. To view a higher address, you must move down, not up.
76
+
You'll notice that the higher addresses appear at the bottom of the window. To view a higher address, you must move down, not up.
0 commit comments