Skip to content

Commit aabbcca

Browse files
committed
version updates
1 parent 8a8b277 commit aabbcca

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ ms.subservice: debug-diagnostics
2020

2121
Visual Studio provides several tools and user interface elements to help you debug multithreaded applications. This tutorial shows how to use thread markers, the **Parallel Stacks** window, the **Parallel Watch** window, conditional breakpoints, and filter breakpoints. Completing this tutorial familiarizes you with Visual Studio features for debugging multithreaded applications.
2222

23+
::: moniker range=">=vs-2022"
2324
For tutorials that are more scenario-focused, see the following articles.
2425

2526
- [Debug a deadlock using Threads view](../debugger/how-to-use-the-threads-window.md).
2627

2728
- [Debug an async application (.NET)](../debugger/walkthrough-debugging-a-parallel-application.md).
29+
::: moniker-end
2830

2931
The first step is to create a multithreaded application project.
3032

docs/debugger/using-the-parallel-stacks-window.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ Icon|Description|
9191
|![Yellow arrow](media/icon-parallel-yellow-arrow.png)|Indicates the current location (active stack frame) of the current thread.|
9292
|![Threads icon](media/icon-parallelthreads.gif)|Indicates the current location (active stack frame) of a non-current thread.|
9393
|![Green arrow](media/icon-parallel-green-arrow.png)|Indicates the current stack frame (the current debugger context). The method name is bold wherever it appears.|
94-
|![Status Error](media/vs-2022/icon-status-error.png)|Indicates that the current stack frame has Critical status warning such as Deadlock.|
95-
|![Status Excluded](media/vs-2022/icon-status-excluded.png)|Indicates the deadlocked node.|
96-
|![Status Information](media/vs-2022/icon-status-information.png)|Indicates that the current stack frame has additional information such as Waiting on, Waiting on lock, owned by, etc. |
97-
|![Status Blocked](media/vs-2022/icon-status-block.png)|Indicates that the current task is in blocked/waiting state, etc. |
94+
|![Status Error](media/vs-2022/icon-status-error.png)|(.NET) Indicates that the current stack frame has Critical status warning such as Deadlock.|
95+
|![Status Excluded](media/vs-2022/icon-status-excluded.png)|(.NET) Indicates the deadlocked node.|
96+
|![Status Information](media/vs-2022/icon-status-information.png)|(.NET) Indicates that the current stack frame has additional information such as Waiting on, Waiting on lock, owned by, etc. |
97+
|![Status Blocked](media/vs-2022/icon-status-block.png)|(.NET) Indicates that the current task is in blocked/waiting state, etc. |
9898
|![Status Running](media/vs-2022/icon-status-running.png)|Indicates the currently running task.|
9999

100100
::: moniker-end
@@ -250,8 +250,6 @@ These video tutorials demonstrate how you can use the Threads and Tasks views of
250250

251251
## Related content
252252
- [Get started debugging a multithreaded application](../debugger/get-started-debugging-multithreaded-apps.md)
253-
- [Debug an async application (.NET)](../debugger/walkthrough-debugging-a-parallel-application.md)
254-
- [Debug a deadlock](../debugger/how-to-use-the-threads-window.md)
255253
- [Switch to Another Thread While Debugging in Visual Studio](../debugger/how-to-switch-to-another-thread-while-debugging.md)
256254
- [Debugging managed code](/visualstudio/debugger/)
257255
- [Parallel programming](/dotnet/standard/parallel-programming/index)

docs/debugger/using-the-tasks-window.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ dev_langs:
99
- "CSharp"
1010
- "VB"
1111
- "FSharp"
12-
- "C++"
1312
helpviewer_keywords:
1413
- "debugger, parallel tasks window"
1514
author: "mikejo5000"
1615
ms.author: "mikejo"
1716
manager: mijacobs
1817
ms.subservice: debug-diagnostics
1918
---
20-
# Using the Tasks Window (C#, Visual Basic, C++)
19+
# Using the Tasks Window (C#, Visual Basic)
2120

2221
The **Tasks** window resembles the **Threads** window, except that it shows information about asynchronous tasks created using the async/await pattern, also called the [Task-based asynchronous pattern (TAP)](/dotnet/standard/asynchronous-programming-patterns/task-based-asynchronous-pattern-tap) instead of thread-based information. Like threads, tasks represent asynchronous operations that can run concurrently; however, multiple tasks may run on the same thread.
2322

@@ -30,7 +29,7 @@ In .NET code, you can use the **Tasks** window when you work with apps using the
3029
::: moniker-end
3130

3231
> [!TIP]
33-
> For C/C++ code, the **Threads** view in the **Parallel Stacks** window is typically the most helpful when you need to debug [task groups](/cpp/parallel/concrt/task-parallelism-concurrency-runtime), [parallel algorithms](/cpp/parallel/concrt/parallel-algorithms), [asynchronous agents](/cpp/parallel/concrt/asynchronous-agents), and [lightweight tasks](/cpp/parallel/concrt/task-scheduler-concurrency-runtime). For more information, see [View threads and tasks in the Parallel Stacks window](../debugger/using-the-parallel-stacks-window.md).
32+
> For C/C++ code, use the **Threads** view in the **Parallel Stacks** window when you need to debug [task groups](/cpp/parallel/concrt/task-parallelism-concurrency-runtime), [parallel algorithms](/cpp/parallel/concrt/parallel-algorithms), [asynchronous agents](/cpp/parallel/concrt/asynchronous-agents), and [lightweight tasks](/cpp/parallel/concrt/task-scheduler-concurrency-runtime). For more information, see [View threads and tasks in the Parallel Stacks window](../debugger/using-the-parallel-stacks-window.md).
3433
3534
You can use the **Tasks** window whenever you break into the debugger. You can access it on the **Debug** menu by clicking **Windows** and then clicking **Tasks**. The following illustration shows the **Tasks** window in its default mode.
3635

@@ -117,8 +116,6 @@ The **Switch to Task** command makes the current task the active task. The **Swi
117116

118117
## Related content
119118

120-
- [Debug an async application (.NET)](../debugger/walkthrough-debugging-a-parallel-application.md)
121-
- [Debug a deadlock](../debugger/how-to-use-the-threads-window.md)
122119
- [First look at the debugger](../debugger/debugger-feature-tour.md)
123120
- [Debugging Managed Code](/visualstudio/debugger/)
124121
- [Parallel Programming](/dotnet/standard/parallel-programming/index)

0 commit comments

Comments
 (0)