Skip to content

Commit 424defe

Browse files
Merge pull request #13832 from Mikejo5000/mikejo-br26
Update article on use of Modules window
2 parents 3bda150 + 356b13e commit 424defe

5 files changed

+38
-29
lines changed

docs/debugger/debug-64-bit-applications.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Debug and troubleshoot 64-Bit applications
33
description: Learn how to debug a 64-bit application with Visual Studio. There are tips for troubleshooting unexpected debugging delays.
4-
ms.date: 11/04/2016
4+
ms.date: 04/16/2025
55
ms.topic: how-to
66
dev_langs:
77
- CSharp
@@ -24,9 +24,9 @@ You can debug a 64-bit application that is running on the local computer or on a
2424

2525
To debug a 64-bit application that is running on a remote computer, see [Remote Debugging](../debugger/remote-debugging.md).
2626

27-
To debug 64-bit applications locally, Visual Studio uses a 64-bit worker process (msvsmon.exe) to perform the low-level operations that cannot be done inside of the 32-bit Visual Studio process.
27+
To debug 64-bit applications locally, Visual Studio uses a 64-bit worker process (msvsmon.exe) to perform the low-level operations that can't be done inside of the 32-bit Visual Studio process.
2828

29-
Mixed-mode debugging is not supported for 64-bit processes that use .NET Framework version 3.5 or earlier.
29+
Mixed-mode debugging isn't supported for 64-bit processes that use .NET Framework version 3.5 or earlier.
3030

3131
## Debug a 64-bit Application
3232

@@ -46,9 +46,9 @@ You might see an error: "A 64-bit debugging operation is taking longer than expe
4646

4747
There are two main causes for this error:
4848

49-
- You have networking security software installed on your computer that has caused the networking stack to be unreliable, and it has dropped packets going over `localhost`. Try disabling all network security software and see whether this resolves it. If so, report to your network security software vendor that the software is interfering with `localhost` traffic. This should not occur with Visual Studio 2019 and later, because those versions don't use sockets for this communication.
49+
- You have networking security software installed on your computer that has caused the networking stack to be unreliable, and it has dropped packets going over `localhost`. Try disabling all network security software and see whether this resolves it. If so, report to your network security software vendor that the software is interfering with `localhost` traffic. This shouldn't occur with Visual Studio 2019 and later, because those versions don't use sockets for this communication.
5050

51-
- You are running into an issue where Visual Studio becomes unresponsive, or other performance problem. If the problem happens regularly, you can collect dumps of Visual Studio (devenv.exe) and the worker process (msvsmon.exe) and send them to Microsoft. For information about reporting a problem, see [How to Report a Problem with Visual Studio](../ide/how-to-report-a-problem-with-visual-studio.md).
51+
- You're running into an issue where Visual Studio becomes unresponsive, or other performance problem. If the problem happens regularly, you can collect dumps of Visual Studio (devenv.exe) and the worker process (msvsmon.exe) and send them to Microsoft. For information about reporting a problem, see [How to Report a Problem with Visual Studio](../ide/how-to-report-a-problem-with-visual-studio.md).
5252

5353
## Related content
5454

docs/debugger/get-started-debugging-multithreaded-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Learn to debug multithreaded applications
33
description: Debug multithreaded applications by using the Parallel Stacks and Parallel Watch windows in the Visual Studio integrated development environment (IDE).
4-
ms.date: 10/19/2023
4+
ms.date: 04/16/2025
55
ms.topic: how-to
66
dev_langs:
77
- CSharp

docs/debugger/how-to-use-the-modules-window.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: View DLLs and executables in Visual Studio
33
description: View DLLs and executables (.exe files) that your app uses in the Modules window during a debugging session in Visual Studio.
44
titleSuffix: Visual Studio Modules window
5-
ms.date: 11/04/2018
5+
ms.date: 04/16/2025
66
ms.topic: how-to
77
f1_keywords:
88
- vs.debug.modules
@@ -31,15 +31,17 @@ During Visual Studio debugging, the **Modules** window lists and shows informati
3131
> [!NOTE]
3232
> The Modules window is not available for SQL or script debugging.
3333
34-
## Use the Modules window
34+
## View modules
3535

3636
To open the Modules window, while you're debugging, select **Debug** > **Windows** > **Modules** (or press **Ctrl + Alt + U**).
3737

3838
By default, the **Modules** window sorts modules by load order. To sort by any window column, select the header at the top of the column.
3939

4040
## Load symbols
4141

42-
The **Symbol Status** column in the **Modules** window shows which modules have debugging symbols loaded. If the status is **Skipped loading symbols**, **Cannot find or open the PDB file**, or **Loading disabled by include/exclude setting**, you can load symbols manually. For more information about loading and using symbols, see [Specify symbol (.pdb) and source files](../debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md).
42+
The **Symbol Status** column in the **Modules** window shows which modules have debugging symbols loaded. If the status is **Skipped loading symbols**, **Cannot find or open the PDB file**, or **Loading disabled by include/exclude setting**, you can load symbols manually.
43+
44+
- For more information about loading and using symbols, see [Specify symbol (.pdb) and source files](../debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md).
4345

4446
**To load symbols manually:**
4547

@@ -49,6 +51,12 @@ The **Symbol Status** column in the **Modules** window shows which modules have
4951

5052
- Select **Load Symbols** to load the symbols manually.
5153

54+
- For .NET code, you can choose **Decompile Source to Symbol File** and then follow instructions in [Generate and embed sources for an assembly](../debugger/decompilation.md#generate-and-embed-sources-for-an-assembly).
55+
56+
::: moniker range=">=vs-2022"
57+
Starting in Visual Studio 2022 version 17.7, you can also autodecompile .NET code. For more information, see [Autodecompile code](../debugger/decompilation.md#autodecompile-code).
58+
::: moniker-end
59+
5260
1. If the symbols don't load, select **Symbol Settings** to open the **Options** dialog, and specify or change symbol loading locations.
5361

5462
You can download symbols from the public Microsoft Symbol Servers or other servers, or load symbols from a folder on your computer. For details, see [Configure location of symbol files and loading behavior](../debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md#configure-location-of-symbol-files-and-loading-options).

docs/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ During debugging, the **Modules** window shows the code modules the debugger is
300300
|**Symbol Load Information**|Shows the location of a loaded symbol file, or the locations that were searched if the debugger cannot find the file.|
301301
|**Symbol Settings**|Opens the **Options** > **Debugging** > **Symbols** page, where you can edit and add symbol locations.|
302302
|**Always Load Automatically**|Adds the selected symbol file to the list of files that are automatically loaded by the debugger.|
303+
|**Decompile Source to Symbol File**|For .NET code, you can choose this option and then follow instructions in [Generate and embed sources for an assembly](../debugger/decompilation.md#generate-and-embed-sources-for-an-assembly).|
303304

304305
### Use the No Symbols Loaded/No Source Loaded pages
305306

docs/debugger/toc.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -366,26 +366,6 @@
366366
items:
367367
- name: 64-Bit applications
368368
href: debug-64-bit-applications.md
369-
- name: UWP apps
370-
items:
371-
- name: Debug UWP apps >>
372-
href: /windows/uwp/debug-test-perf/deploying-and-debugging-uwp-apps
373-
- name: Debug UWP apps on a remote machine
374-
href: run-windows-store-apps-on-a-remote-machine.md
375-
- name: Run UWP apps in the simulator
376-
href: run-windows-store-apps-in-the-simulator.md
377-
- name: Deploy UWP apps from Visual Studio
378-
href: deploy-windows-store-apps-from-visual-studio.md
379-
- name: Debug an installed app package
380-
href: debug-installed-app-package.md
381-
- name: Inspect XAML properties while debugging >>
382-
href: ../xaml-tools/inspect-xaml-properties-while-debugging.md
383-
- name: Write and debug running XAML code >>
384-
href: ../xaml-tools/xaml-hot-reload.md
385-
- name: Debug XAML in Blend >>
386-
href: ../xaml-tools/debug-xaml-in-blend.md
387-
- name: How to trigger suspend, resume, and background events
388-
href: how-to-trigger-suspend-resume-and-background-events-for-windows-store-apps-in-visual-studio.md
389369
- name: .NET
390370
items:
391371
- name: Recommended property settings
@@ -424,6 +404,26 @@
424404
href: how-to-debug-the-onstart-method.md
425405
- name: F#
426406
href: debugging-f-hash.md
407+
- name: UWP apps
408+
items:
409+
- name: Debug UWP apps >>
410+
href: /windows/uwp/debug-test-perf/deploying-and-debugging-uwp-apps
411+
- name: Debug UWP apps on a remote machine
412+
href: run-windows-store-apps-on-a-remote-machine.md
413+
- name: Run UWP apps in the simulator
414+
href: run-windows-store-apps-in-the-simulator.md
415+
- name: Deploy UWP apps from Visual Studio
416+
href: deploy-windows-store-apps-from-visual-studio.md
417+
- name: Debug an installed app package
418+
href: debug-installed-app-package.md
419+
- name: Inspect XAML properties while debugging >>
420+
href: ../xaml-tools/inspect-xaml-properties-while-debugging.md
421+
- name: Write and debug running XAML code >>
422+
href: ../xaml-tools/xaml-hot-reload.md
423+
- name: Debug XAML in Blend >>
424+
href: ../xaml-tools/debug-xaml-in-blend.md
425+
- name: How to trigger suspend, resume, and background events
426+
href: how-to-trigger-suspend-resume-and-background-events-for-windows-store-apps-in-visual-studio.md
427427
- name: C/C++ code
428428
items:
429429
- name: Debug native code

0 commit comments

Comments
 (0)