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
# View events with IntelliTrace in Visual Studio Enterprise (C#, Visual Basic)
13
13
14
-
You can use IntelliTrace to collect information about specific events or categories of events, or about individual function calls in addition to events. The following procedures show how to do this.
15
-
16
-
You can use IntelliTrace in Visual Studio Enterprise edition, but not the Professional or Community editions.
You can use IntelliTrace to collect information about specific events or categories of events, or about individual function calls in addition to events. The following procedures show how to do this.
19
15
20
-
You can try debugging with just IntelliTrace events. IntelliTrace events are debugger events, exceptions, .NET Framework events, and other system events. You should turn on or turn off specific events to control the events that IntelliTrace records before you start debugging. For more information, see [IntelliTrace Features](../debugger/intellitrace-features.md).
21
-
22
-
- Turn on the IntelliTrace event for File Access. Go to the **Tools > Options > IntelliTrace > IntelliTrace Events** page, and expand the **File** category. Check the **File** event category. This causes all the file events (access, close, delete) to be checked.
16
+
You can use IntelliTrace in Visual Studio Enterprise edition, but not the Professional or Community editions.
You can try debugging with just IntelliTrace events. IntelliTrace events are debugger events, exceptions, .NET Framework events, and other system events. You should turn on or turn off specific events to control the events that IntelliTrace records before you start debugging. For more information, see [IntelliTrace Features](../debugger/intellitrace-features.md).
21
+
22
+
- Turn on the IntelliTrace event for File Access. Go to the **Tools > Options > IntelliTrace > IntelliTrace Events** page, and expand the **File** category. Check the **File** event category. This causes all the file events (access, close, delete) to be checked.
23
23
24
24
## Create your app
25
-
26
-
1.Create a C# console application. In the Program.cs file, add the following `using` statement:
Click**ActivateHistoricalDebugging**, whichsetsthedebugger's context to the time when the selected event was collected, showing historical data in the **Call Stack**, **Locals** and the other participating debugger windows. If source code is available, Visual Studio moves the pointer to the corresponding code in the source window so you can examine it.
4. Ifyoudidn't find the bug, try examining other events leading up to the bug. You can also have IntelliTrace record call information so you can step through function calls.
78
-
53
+
>Keepthe**Locals**and**Autos**windowsopenwhileyou're debugging to see and record the values in those windows.
Click**ActivateHistoricalDebugging**, whichsetsthedebugger's context to the time when the selected event was collected, showing historical data in the **Call Stack**, **Locals** and the other participating debugger windows. If source code is available, Visual Studio moves the pointer to the corresponding code in the source window so you can examine it.
4. Ifyoudidn't find the bug, try examining other events leading up to the bug. You can also have IntelliTrace record call information so you can step through function calls.
0 commit comments