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
Copy file name to clipboardExpand all lines: docs/debugger/debug-live-azure-applications.md
+20-4Lines changed: 20 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ Additionally, the Snapshot Debugger is only available for **Visual Studio Enterp
52
52
53
53
3. Open the project you would like to snapshot debug.
54
54
55
-
> [!NOTE]
56
-
> In order to snapshot debug, you need to open the **same version of source code** that is published to your Azure Azure App Service.
55
+
> [!NOTE]
56
+
> In order to snapshot debug, you need to open the **same version of source code** that is published to your Azure Azure App Service.
57
57
58
58
4. In the Cloud Explorer, right click the Azure App Service your project is deployed to and select **Attach Snapshot Debugger** to start the Snapshot Debugger.
59
59
@@ -131,7 +131,7 @@ In addition to taking a snapshot when a snappoint is hit, you can also configure
131
131
132
132
#### To create a logpoint
133
133
134
-
1. Right-click a snappoint icon (the blue hexagon) and choose **Settings**.
134
+
.1. Right-click a snappoint icon (the blue hexagon) and choose **Settings**.
135
135
136
136
2. In the snappoint settings window, select **Actions**.
137
137
@@ -163,7 +163,23 @@ Yes - the Snapshot Debugger is intended to work against release builds. When a s
163
163
No - any log messages you add to your app are evaluated virtually. They cannot cause any side effects in your application. However, some native properties may not be accessible with logpoints.
164
164
165
165
#### Does the Snapshot Debugger work if my server is under load?
166
-
Yes - Snapshot Debugging can work for servers under load. The Snapshot Debugger will throttle and not capture snapshots in situations where there is a low amount of free memory on your server.
166
+
Yes, snapshot debugging can work for servers under load. The Snapshot Debugger will throttle and not capture snapshots in situations where there is a low amount of free memory on your server.
167
+
168
+
#### How do I uninstall the Snapshot Debugger?
169
+
You can uninstall the Snapshot Debugger from Visual Studio by uninstalling it from **Tools / Extension and Updates**. Uninstalling the Snapshot Debugger site extension from your App Service currently must be done manually. You can uninstall the Snapshot Debuggger site extension on your App Service with the following steps:
170
+
1. Navigate to your App Service's Kudu site (ie yourappservice.**scm**.azurewebsites.net and navigate to the **Debug console**.
171
+
2. Navigate to D:/home/SiteExtensions/Microsoft.VisualStudio.SnapshotDebugger.AzureAppServices.Standalone and delete the applicationHost.xdt.
172
+
3. Navigate to the **Process explorer** in Kudu and kill all w3wp.exe processes (note that this will restart your site).
173
+
4. Navigate to the **Debug console** and delete the Microsoft.VisualStudio.SnapshotDebugger.AzureAppServices.Standalone folder from D:/home/SiteExtensions and D:/home/site/siteextensions.
174
+
175
+
## Known Issues
176
+
177
+
* Roslyn IL Optimizations are not fully supported in ASP.NET Core projects. For some ASP.NET Core projects, you may not be able to see some variables or use some variables in conditional statements.
178
+
* Special variables, ie *$FUNCTION* or *$CALLER*, cannot be evaluated in conditional statements or logpoints for ASP.NET Core projects.
179
+
* Snapshot Debugging does not work on App Services which have [Local Caching](https://docs.microsoft.com/en-us/azure/app-service/app-service-local-cache) turned on.
180
+
* Snapshot Debugging against [deployment slots](https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-staged-publishing) is not currently supported.
181
+
* Snapshot Debugging with multiple Visual Studio clients against the same App Service is not currently supported.
0 commit comments