Skip to content

Commit b20c470

Browse files
Merge pull request #11065 from MicrosoftDocs/main638942655456506056sync_temp
Repo sync for protected branch
2 parents de1faa1 + 689ef9b commit b20c470

30 files changed

+125
-270
lines changed

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@
55
"redirect_url": "/visualstudio/msbuild/msbuild",
66
"redirect_document_id": false
77
},
8+
{
9+
"source_path": "docs/ide/reference/options-text-editor-xaml-formatting.md",
10+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-xaml-formatting",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "docs/ide/reference/options-text-editor-xaml-miscellaneous.md",
15+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-xaml-miscellaneous",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "docs/ide/reference/call-hierarchy.md",
20+
"redirect_url": "/visualstudio/ide/call-hierarchy",
21+
"redirect_document_id": false
22+
},
823
{
924
"source_path": "docs/ide/reference/import-and-export-settings-environment-options-dialog-box.md",
1025
"redirect_url": "/visualstudio/ide/personalizing-the-visual-studio-ide",

docs/debugger/configure-the-windows-firewall-for-remote-debugging.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ To open a port using PowerShell:
4646

4747
For Windows Firewall, you can use PowerShell commands such as [New-NetFirewallRule](/powershell/module/netsecurity/new-netfirewallrule).
4848

49+
::: moniker range="visualstudio"
50+
The following example opens port 4026 for the remote debugger on the remote computer. The port and path you need to use might be different.
51+
52+
```ps
53+
New-NetFirewallRule -DisplayName "msvsmon" -Direction Inbound -Program "Program Files\Microsoft Visual Studio\18\Enterprise\Common7\IDE\Remote Debugger\x64\msvsmon.exe" -LocalPort 4026 -Protocol TCP -Authentication Required -Action Allow
54+
```
55+
56+
::: moniker-end
57+
4958
::: moniker range="vs-2022"
5059
The following example opens port 4026 for the remote debugger on the remote computer. The port and path you need to use might be different.
5160

docs/debugger/debug-live-azure-applications.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ms.custom: sfi-image-nochange
1414
---
1515
# Debug live ASP.NET Azure apps using the Snapshot Debugger
1616

17+
[!INCLUDE [debug-live-deprecation](includes/debug-live-deprecation.md)]
18+
1719
The Snapshot Debugger takes a snapshot of your in-production apps when code that you're interested in executes. To instruct the debugger to take a snapshot, you set snappoints and logpoints in your code. The debugger lets you see exactly what went wrong, without impacting traffic of your production application. The Snapshot Debugger can help you dramatically reduce the time it takes to resolve issues that occur in production environments.
1820

1921
Snappoints and logpoints are similar to breakpoints, but unlike breakpoints, snappoints don't halt the application when hit. Typically, capturing a snapshot at a snappoint takes 10-20 milliseconds.

docs/debugger/debug-live-azure-kubernetes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ monikerRange: '>= vs-2019'
1212
---
1313
# Debug live ASP.NET Azure Kubernetes Services using the Snapshot Debugger
1414

15+
[!INCLUDE [debug-live-deprecation](includes/debug-live-deprecation.md)]
16+
1517
The Snapshot Debugger takes a snapshot of your in-production apps when code that you're interested in executes. To instruct the debugger to take a snapshot, you set snappoints and logpoints in your code. The debugger lets you see exactly what went wrong, without impacting traffic of your production application. The Snapshot Debugger can help you dramatically reduce the time it takes to resolve issues that occur in production environments.
1618

1719
Snappoints and logpoints are similar to breakpoints, but unlike breakpoints, snappoints don't halt the application when hit. Typically, capturing a snapshot at a snappoint takes 10-20 milliseconds.

docs/debugger/debug-live-azure-virtual-machines-time-travel-debugging.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ monikerRange: '>= vs-2019'
1212
---
1313
# Use time travel debugging to record and replay ASP.NET apps on Azure VMs
1414

15+
[!INCLUDE [debug-live-deprecation](includes/debug-live-deprecation.md)]
16+
1517
Time travel debugging in Visual Studio Enterprise can record a web app running on an Azure virtual machine (VM), and then accurately reconstruct and replay the execution path. Time Travel Debugging (TTD) was added to Visual Studio 2019 Enterprise as a preview feature, and is now integrated into the Visual Studio Snapshot Debugger.
1618

1719
Time travel debugging lets you rewind and replay each line of code as many times as you want. This procedure can help you isolate and identify problems that might occur only in production environments.

docs/debugger/debug-live-azure-virtual-machines.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ monikerRange: '>= vs-2019'
1212
---
1313
# Debug live ASP.NET apps on Azure virtual machines and Azure virtual machine scale sets using the Snapshot Debugger
1414

15+
[!INCLUDE [debug-live-deprecation](includes/debug-live-deprecation.md)]
16+
1517
The Snapshot Debugger takes a snapshot of your in-production apps when code that you're interested in executes. To instruct the debugger to take a snapshot, you set snappoints and logpoints in your code. The debugger lets you see exactly what went wrong, without impacting traffic of your production application. The Snapshot Debugger can help you dramatically reduce the time it takes to resolve issues that occur in production environments.
1618

1719
Snappoints and logpoints are similar to breakpoints, but unlike breakpoints, snappoints don't halt the application when hit. Typically, capturing a snapshot at a snappoint takes 10-20 milliseconds.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
ms.topic: include
3+
---
4+
> [!NOTE]
5+
> Snapshot debugging has been deprecated and will no longer be available in the latest versions of Visual Studio 2022 and later versions. While there's no exact replacement, there are other tools that can provide helpful diagnostics:
6+
>
7+
> - [dotnet-monitor](/dotnet/core/diagnostics/dotnet-monitor)
8+
> - [Time Travel Debugging](/windows-hardware/drivers/debuggercmds/time-travel-debugging-overview)
9+
> - [ProcDump](/sysinternals/downloads/procdump)

docs/debugger/includes/remote-debugger-download-cpp.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212

1313
On the remote device or server that you want to debug on, rather than the Visual Studio machine, download and install the correct version of the remote tools from the links in the following table.
1414

15-
- Download the most recent remote tools for your version of Visual Studio. The latest remote tools version is compatible with earlier Visual Studio versions, but earlier remote tools versions aren't compatible with later Visual Studio versions. (For example, if you're using Visual Studio 2019, download the latest update of the remote tools for Visual Studio 2019. In this scenario, don't download the remote tools for Visual Studio 2022.)
15+
::: moniker range=">=visualstudio"
16+
- Download the most recent update of the remote tools for your version of Visual Studio. Remote tools for Visual Studio 2022 and 2026 can be used with either version of Visual Studio. However, remote tools versions that are earlier than Visual Studio 2022 aren't compatible with later Visual Studio versions. (For example, if you're using Visual Studio 2019, download the latest update of the remote tools for Visual Studio 2019. In this scenario, don't download the remote tools for Visual Studio 2022.)
17+
::: moniker-end
18+
::: moniker range="vs-2022"
19+
- Download the most recent update of the remote tools for your version of Visual Studio. Earlier remote tools versions aren't compatible with later Visual Studio versions. (For example, if you're using Visual Studio 2019, download the latest update of the remote tools for Visual Studio 2019. In this scenario, don't download the remote tools for Visual Studio 2022.)
20+
::: moniker-end
1621
- Download the remote tools with the same architecture as the machine you're installing them on. For example, if you want to debug a 32-bit app on a remote computer running a 64-bit operating system, install the 64-bit remote tools.
1722
- If you're remote debugging an ARM64EC application on an ARM64 device, install the ARM64 remote tools, and then launch the x64 remote debugger that gets installed with those tools. This can be found under: *Program Files (x86)\Microsoft Visual Studio\<version>\Common7\IDE\Remote Debugger\x64*.
1823

docs/debugger/includes/remote-debugger-download.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ title: Remote debugger download
1212

1313
On the remote device or server that you want to debug on, rather than the Visual Studio machine, download and install the correct version of the remote tools from the links in the following table.
1414

15+
::: moniker range=">=visualstudio"
16+
- Download the most recent update of the remote tools for your version of Visual Studio. Remote tools for Visual Studio 2022 and 2026 can be used with either version of Visual Studio. However, remote tools versions that are earlier than Visual Studio 2022 aren't compatible with later Visual Studio versions. (For example, if you're using Visual Studio 2019, download the latest update of the remote tools for Visual Studio 2019. In this scenario, don't download the remote tools for Visual Studio 2022.)
17+
::: moniker-end
18+
::: moniker range="vs-2022"
1519
- Download the most recent update of the remote tools for your version of Visual Studio. Earlier remote tools versions aren't compatible with later Visual Studio versions. (For example, if you're using Visual Studio 2019, download the latest update of the remote tools for Visual Studio 2019. In this scenario, don't download the remote tools for Visual Studio 2022.)
20+
::: moniker-end
1621
- Download the remote tools with the same architecture as the machine you're installing them on. For example, if you want to debug x86 applications on a remote computer running an x64 operating system, install the x64 remote tools. To debug x86, ARM, or x64 applications on an ARM64 operating system, install the ARM64 remote tools.
17-
22+
1823
::: moniker range=">=vs-2022"
1924

2025
|Version|Link|Notes|

docs/debugger/using-the-intellitrace-stand-alone-collector.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,12 @@ The **IntelliTrace stand-alone collector** lets you collect IntelliTrace diagnos
7171
2. Get the collector from the Visual Studio installation folder.
7272

7373
1. Copy IntelliTraceCollection.cab from the folder where the collector is installed, for example:
74-
74+
::: moniker range=">=visualstudio"
75+
**..\Microsoft Visual Studio\18\Enterprise\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace**
76+
::: moniker-end
77+
::: moniker range="<=vs-2022"
7578
**..\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace**
79+
::: moniker-end
7680

7781
or, for previous versions of Visual Studio:
7882

0 commit comments

Comments
 (0)