Skip to content

Commit e6b982c

Browse files
authored
Merge pull request #257 from nikhilrj/patch-1
Added known issues, some minor tweaks
2 parents b6a7bb2 + c615135 commit e6b982c

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

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

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Additionally, the Snapshot Debugger is only available for **Visual Studio Enterp
5252

5353
3. Open the project you would like to snapshot debug.
5454

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.
5757
5858
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.
5959

@@ -131,7 +131,7 @@ In addition to taking a snapshot when a snappoint is hit, you can also configure
131131

132132
#### To create a logpoint
133133

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**.
135135

136136
2. In the snappoint settings window, select **Actions**.
137137

@@ -163,7 +163,23 @@ Yes - the Snapshot Debugger is intended to work against release builds. When a s
163163
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.
164164

165165
#### 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.
182+
167183

168184
## See Also
169185
[Debug Azure apps](../debugger/debug-azure-apps.md)

0 commit comments

Comments
 (0)