Skip to content

Commit 078892c

Browse files
authored
Merge pull request #2976 from Mikejo5000/mikejo-br12
IntelliTrace updates
2 parents f06e4a9 + 79b95f5 commit 078892c

16 files changed

+58
-47
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,11 @@
700700
"redirect_url": "/visualstudio/debugger/index",
701701
"redirect_document_id": false
702702
},
703+
{
704+
"source_path": "docs/debugger/how-to-use-intellitrace-step-back.md",
705+
"redirect_url": "/visualstudio/debugger/view-historical-application-state",
706+
"redirect_document_id": false
707+
},
703708
{
704709
"source_path": "docs/deployment/installshield-limited-edition.md",
705710
"redirect_url": "/visualstudio/deployment/deploying-applications-services-and-components",

docs/debugger/debugger-feature-tour.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ You can navigate and view snapshots by using the **Step Backward** and **Step Fo
205205

206206
![Step Backward and Forward Buttons](../debugger/media/intellitrace-step-back-icons-description.png "Step Backward and Forward buttons")
207207

208-
For more information, see the [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md) page.
208+
For more information, see the [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md) page.
209209

210210
## Next steps
211211

docs/debugger/diagnose-problems-after-deployment.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ manager: douge
1111
ms.workload:
1212
- "multiple"
1313
---
14-
# Diagnose problems after deployment
14+
# Diagnose problems after deployment using IntelliTrace
1515

1616
To diagnose issues in your ASP.NET web app after deployment by using IntelliTrace, include build information with your release to let Visual Studio automatically find the correct source files and symbol files that are required to debug the IntelliTrace log.
1717

@@ -21,48 +21,27 @@ To diagnose issues in your ASP.NET web app after deployment by using IntelliTrac
2121

2222
**You'll need:**
2323

24-
- Visual Studio 2017, Visual Studio 2015, or Team Foundation Server 2017, 2015, 2013, 2012, or 2010 to set up your build
24+
- Visual Studio, Azure DevOps, or Team Foundation Server 2017, 2015, 2013, 2012, or 2010 to set up your build
2525

2626
- Microsoft Monitoring Agent to monitor your app and record diagnostic data
2727

2828
- Visual Studio Enterprise (but not Professional or Community editions) to review diagnostic data and debug your code with IntelliTrace
2929

3030
## <a name="SetUpBuild"></a> Step 1: Include build information with your release
31-
Set up your build process to create a build manifest (BuildInfo.config file) for your web project and include this manifest with your release. This manifest contains information about the project, source control, and build system that were used to create a specific build. This information helps Visual Studio find the matching source and symbols after you open the IntelliTrace log to review the recorded events.
31+
Set up your build process to create a build manifest (*BuildInfo.config* file) for your web project and include this manifest with your release. This manifest contains information about the project, source control, and build system that were used to create a specific build. This information helps Visual Studio find the matching source and symbols after you open the IntelliTrace log to review the recorded events.
3232

3333
### <a name="AutomatedBuild"></a> Create the build manifest for an automated build using Team Foundation Server
3434

3535
Follow these steps whether you use Team Foundation Version Control or Git.
3636

37-
#### <a name="TFS2017"></a> Team Foundation Server 2017
37+
#### <a name="TFS2017"></a> Azure DevOps and Team Foundation Server 2017
3838

39-
Set up your build pipeline to add the locations of your source, build, and symbols to the build manifest (BuildInfo.config file). Team Foundation Build automatically creates this file and puts it in your project's output folder.
40-
41-
1. If you already have a build pipeline using the ASP.NET Core (.NET Framework) template, you can either [Edit your build pipeline or create a new build pipeline.](/azure/devops/pipelines/get-started-designer?view=vsts)
42-
43-
![View build pipeline in TFS 2017](../debugger/media/ffr_tfs2017viewbuilddefinition.png "FFR_TFS2013ViewBuildDefinition")
44-
45-
2. If you create a new template, choose the ASP.NET Core (.NET Framework) template.
46-
47-
![Choose build process template &#45; TFS 2017](../debugger/media/ffr_tfs2017buildprocesstemplate.png "FFR_TFS2013BuildProcessTemplate")
39+
Visual Studio 2017 does not include the *BuildInfo.config* file, which was deprecated and then removed. To debug ASP.NET web apps after deployment, use one of the following methods:
4840

49-
3. Specify where to save the symbols (PDB) file so that your source is indexed automatically.
50-
51-
If you use a custom template, make sure the template has an activity to index your source. You'll later add an MSBuild argument to specify where to save the symbols files.
41+
* For deployment to Azure, use [Application Insights](https://docs.microsoft.com/en-us/azure/application-insights/).
5242

53-
![Set up symbols path in build pipeline TFS 2017](../debugger/media/ffr_tfs2017builddefsymbolspath.png "FFR_TFS2013BuildDefSymbolsPath")
54-
55-
For more about symbols, see [Publish symbol data](/azure/devops/pipelines/tasks/build/index-sources-publish-symbols?view=vsts).
43+
* If you need to use IntelliTrace, open the project in Visual Studio and load the symbol files from the matching build. You can load symbol files from the **Modules** window or by configuring symbols in **Tools** > **Options** > **Debugging** > **Symbols**.
5644

57-
4. Add this MSBuild argument to include your TFS and symbols locations in the build manifest file:
58-
59-
**/p:IncludeServerNameInBuildInfo=True**
60-
61-
Anyone who can access your web server can see these locations in the build manifest. Make sure that your source server is secure.
62-
63-
6. Run a new build.
64-
65-
Go to [Step 2: Release your app](#DeployRelease)
6645

6746
#### <a name="TFS2013"></a> Team Foundation Server 2013
6847
Set up your build pipeline to add the locations of your source, build, and symbols to the build manifest (BuildInfo.config file). Team Foundation Build automatically creates this file and puts it in your project's output folder.

docs/debugger/historical-debugging-inspect-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ private static int AddInt(int add)
7373

7474
This procedure just scratched the surface of what you can do with historical debugging.
7575

76-
- To view snapshots while debugging, see [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md).
76+
- To view snapshots while debugging, see [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md).
7777
- To find out more about the different settings and the effects of the different buttons in the navigation gutter, see [IntelliTrace Features](../debugger/intellitrace-features.md).

docs/debugger/historical-debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ Historical debugging is a mode of debugging that depends on the information coll
2626
## How do I start using historical debugging?
2727
IntelliTrace is on by default. All you have to do is decide which events and function calls are of interest to you, and whether you want to view snapshots of your full application state. For more information about defining what you want to look for, see [IntelliTrace Features](../debugger/intellitrace-features.md).
2828

29-
- To view snapshots with historical debugging, see [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md)
29+
- To view snapshots with historical debugging, see [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md)
3030
- To learn how to inspect variables and navigate code, see [Inspect your app with historical debugging](../debugger/historical-debugging-inspect-app.md)
3131
- To learn more about debugging with IntelliTrace events, see [Walkthrough: Using IntelliTrace](../debugger/walkthrough-using-intellitrace.md).

docs/debugger/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The Visual Studio debugger helps you observe the run-time behavior of your progr
104104
</a>
105105
</li>
106106
<li>
107-
<a href="https://docs.microsoft.com/visualstudio/debugger/how-to-use-intellitrace-step-back">
107+
<a href="https://docs.microsoft.com/visualstudio/debugger/view-historical-application-state">
108108
<div class="cardSize">
109109
<div class="cardPadding">
110110
<div class="card">
@@ -114,7 +114,7 @@ The Visual Studio debugger helps you observe the run-time behavior of your progr
114114
</div>
115115
</div>
116116
<div class="cardText">
117-
<h3>View IntelliTrace snapshots (Visual Studio Enterprise)</h3>
117+
<h3>Inspect previous app states (Visual Studio Enterprise)</h3>
118118
</div>
119119
</div>
120120
</div>

docs/debugger/intellitrace-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you're debugging, stop debugging. Go to **Tools > Options > IntelliTrace > In
4444

4545
## <a name="Snapshots"></a> Collect snapshots
4646

47-
This isn't enabled by default, but IntelliTrace can capture snapshots of your application at every breakpoint and debugger step event, and you can view these snapshots in a historical debugging session. A snapshot gives you a view of your full application state. To enable the capture of snapshots, go to **Tools > Options > IntelliTrace > General**, and select **IntelliTrace snapshots (managed and native)**. For more information, see [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md)
47+
This isn't enabled by default, but IntelliTrace can capture snapshots of your application at every breakpoint and debugger step event, and you can view these snapshots in a historical debugging session. A snapshot gives you a view of your full application state. To enable the capture of snapshots, go to **Tools > Options > IntelliTrace > General**, and select **IntelliTrace snapshots (managed and native)**. For more information, see [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md)
4848

4949
Snapshots are available in Visual Studio Enterprise 2017 version 15.5 and higher, and it requires Windows 10 Anniversary Update or above. For .NET Core and ASP.NET Core apps, Visual Studio Enterprise 2017 version 15.7 is required. For native apps targeting Windows, Visual Studio Enterprise 2017 version 15.9 Preview 2 is required.
5050

docs/debugger/intellitrace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can use IntelliTrace in Visual Studio Enterprise edition (but not the Profes
3939

4040
|||
4141
|-|-|
42-
|**Debug my application with IntelliTrace:**<br /><br /> - Show me past events.<br />- Show me call information with past events.<br />- Save my IntelliTrace session.<br />- Control the data that IntelliTrace collects.|- [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md)<br />- [Walkthrough: Using IntelliTrace](../debugger/walkthrough-using-intellitrace.md)<br />- [IntelliTrace Features](../debugger/intellitrace-features.md)<br />- [Historical Debugging](../debugger/historical-debugging.md)|
42+
|**Debug my application with IntelliTrace:**<br /><br /> - Show me past events.<br />- Show me call information with past events.<br />- Save my IntelliTrace session.<br />- Control the data that IntelliTrace collects.|- [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md)<br />- [Walkthrough: Using IntelliTrace](../debugger/walkthrough-using-intellitrace.md)<br />- [IntelliTrace Features](../debugger/intellitrace-features.md)<br />- [Historical Debugging](../debugger/historical-debugging.md)|
4343
|**Collect IntelliTrace data during a test session in Test Manager**|- [Collect more diagnostic data in manual tests](/azure/devops/test/mtm/collect-more-diagnostic-data-in-manual-tests?view=vsts)|
4444
|**Collect IntelliTrace data from deployed applications**|- [Using the IntelliTrace stand-alone collector](../debugger/using-the-intellitrace-stand-alone-collector.md)|
4545
|**Start debugging from an IntelliTrace log file (.iTrace file).**|- [Using saved IntelliTrace data](../debugger/using-saved-intellitrace-data.md)|
@@ -143,7 +143,7 @@ By default, IntelliTrace records only IntelliTrace events: debugger events, exce
143143

144144
You can configure IntelliTrace to capture snapshots at every breakpoint and debugger step event. IntelliTrace records the full application state at each snapshot, which allows you to view complex variables and to evaluate expressions.
145145

146-
See [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md).
146+
See [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md).
147147

148148
**Collect function call information**
149149

Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/debugger/toc.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
href: debug-live-azure-applications.md
2323
- name: Debug managed and native code
2424
href: how-to-debug-managed-and-native-code.md
25-
- name: View snapshots using IntelliTrace step-back
26-
href: how-to-use-intellitrace-step-back.md
25+
- name: Inspect previous app states
26+
href: view-historical-application-state.md
2727
- name: Debugging for absolute beginners
2828
href: debugging-absolute-beginners.md
2929
- name: How-to guides
@@ -324,7 +324,9 @@
324324
- name: IntelliTrace
325325
href: intellitrace.md
326326
items:
327-
- name: "Walkthrough: Using IntelliTrace"
327+
- name: View snapshots with IntelliTrace
328+
href: view-snapshots-with-intellitrace.md
329+
- name: View events with IntelliTrace
328330
href: walkthrough-using-intellitrace.md
329331
- name: IntelliTrace features
330332
href: intellitrace-features.md
@@ -334,10 +336,11 @@
334336
href: historical-debugging-inspect-app.md
335337
- name: Diagnose problems after deployment
336338
href: diagnose-problems-after-deployment.md
337-
- name: Using the IntelliTrace stand-alone collector
338-
href: using-the-intellitrace-stand-alone-collector.md
339-
- name: Using the Microsoft Monitoring Agent
340-
href: using-the-microsoft-monitoring-agent.md
339+
items:
340+
- name: Using the IntelliTrace stand-alone collector
341+
href: using-the-intellitrace-stand-alone-collector.md
342+
- name: Using the Microsoft Monitoring Agent
343+
href: using-the-microsoft-monitoring-agent.md
341344
- name: Using saved IntelliTrace data
342345
href: using-saved-intellitrace-data.md
343346
- name: API Reference for IntelliTrace Extensibility

docs/debugger/how-to-use-intellitrace-step-back.md renamed to docs/debugger/view-historical-application-state.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "View a snapshot using IntelliTrace step-back"
2+
title: "View previous application state using IntelliTrace"
33
ms.description: "Learn how to take snapshots, and view snapshots with IntelliTrace step-back"
44
ms.custom: "mvc"
55
ms.date: "09/19/2018"
@@ -12,7 +12,7 @@ manager: douge
1212
ms.workload:
1313
- "multiple"
1414
---
15-
# View snapshots using IntelliTrace step-back in Visual Studio
15+
# Inspect previous app states using IntelliTrace step-back in Visual Studio
1616

1717
IntelliTrace step-back automatically takes a snapshot of your application at every breakpoint and debugger step event. The recorded snapshots enable you to go back to previous breakpoints or steps and view the state of the application as it was in the past. IntelliTrace step-back can save you time when you want to see the previous application state but don't want to restart debugging or recreate the desired app state.
1818

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: "View snapshots with IntelliTrace"
3+
description: "Use IntelliTrace step-back to examine the historical application state"
4+
ms.custom: ""
5+
ms.date: "09/20/2018"
6+
ms.technology: "vs-ide-debug"
7+
ms.topic: "quickstart"
8+
helpviewer_keywords:
9+
- "IntelliTrace step-back"
10+
author: "mikejo5000"
11+
ms.author: "mikejo"
12+
manager: douge
13+
ms.workload:
14+
- "multiple"
15+
---
16+
# View snapshots with IntelliTrace step-back (Visual Studio Enterprise)
17+
18+
**IntelliTrace step-back** automatically takes a snapshot of your application at every breakpoint and debugger step event. The recorded snapshots enable you to go back to previous breakpoints or steps and view the state of the application as it was in the past. IntelliTrace step-back can save you time when you want to see the previous application state but don't want to restart debugging or recreate the desired app state.
19+
20+
You can navigate and view snapshots by using the **Step Backward** and **Step Forward** buttons in the Debug toolbar. These buttons navigate the events that appear in the **Events** tab in the **Diagnostic Tools** window.
21+
22+
![Step Backward and Forward Buttons](../debugger/media/intellitrace-step-back-icons-description.png "Step Backward and Forward buttons")
23+
24+
For more information, see [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md).

docs/debugger/walkthrough-using-intellitrace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ You can use IntelliTrace to collect information about specific events or categor
8080

8181
You can use some of the advanced features of IntelliTrace with historical debugging:
8282

83-
- To view snapshots, see [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md)
83+
- To view snapshots, see [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md)
8484
- To learn how to inspect variables and navigate code, see [Inspect your app with historical debugging](../debugger/historical-debugging-inspect-app.md)

docs/debugger/what-s-new-for-the-debugger-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The debugger includes these new features:
4040

4141
![Step Backward and Forward Buttons](../debugger/media/intellitrace-step-back-icons-description.png "Step Backward and Forward buttons")
4242

43-
For more information, see the [View snapshots using IntelliTrace step-back](../debugger/how-to-use-intellitrace-step-back.md) page.
43+
For more information, see the [Inspect previous app states using IntelliTrace](../debugger/view-historical-application-state.md) page.
4444

4545
- The **Exception Helper** replaces the Exception Assistant and appears in a non-modal dialog box where the error occurred. The **Exception Helper** provides quicker access to any inner exceptions, additional analysis by the debugger (if available), and immediate access to the **Exception Settings** for the exception. The Exception Helper can also be dragged to a floating view if it is blocking something that you need to see.
4646

0 commit comments

Comments
 (0)