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
TheSnapshotCollectoralsomonitorsexceptionsastheyarethrownbysubscribingtothe [AppDomain.CurrentDomain.FirstChanceException](https://docs.microsoft.com/dotnet/api/system.appdomain.firstchanceexception) event. When that event fires, the Problem ID of the exception is computed and compared against the Problem IDs in the Collection Plan.
234
+
TheSnapshotCollectoralsomonitorsexceptionsasthey'rethrownbysubscribingtothe [AppDomain.CurrentDomain.FirstChanceException](https://docs.microsoft.com/dotnet/api/system.appdomain.firstchanceexception) event. When that event fires, the Problem ID of the exception is computed and compared against the Problem IDs in the Collection Plan.
235
235
Ifthere's a match, then a snapshot of the running process is created. The snapshot is assigned a unique identifier and the exception is stamped with that identifier. After the FirstChanceException handler returns, the thrown exception is processed as normal. Eventually, the exception reaches the TrackException method again where it, along with the snapshot identifier, is reported to Application Insights.
@@ -247,7 +247,8 @@ The main process continues to run and serve traffic to users with little interru
247
247
## Current limitations
248
248
249
249
### Publish symbols
250
-
TheSnapshotDebuggerrequiressymbolfilesontheproductionservertodecodevariablesandtoprovideadebuggingexperienceinVisualStudio. The 15.2 releaseofVisualStudio 2017 publishessymbolsforreleasebuildsbydefault when it publishes to App Service. In prior versions, you need to add the following line to your publish profile `.pubxml` file so that symbols are published in release mode:
Version 15.2 (orabove) ofVisualStudio 2017 publishessymbolsforreleasebuildsbydefault when it publishes to App Service. In prior versions, you need to add the following line to your publish profile `.pubxml` file so that symbols are published in release mode:
Iftheuploadercannotbelaunched, SnapshotCollectorreportsan `UploaderCannotStartFromShadowCopy` error, possiblywitha `System.UnauthorizedAccessException` inthebodyofthemessage.Thisisusuallybecausetheapplicationisrunningunderanaccountwithreducedpermissions. Theaccounthaspermissiontowritetotheshadowcopyfolder, butitdoesn't have permission to execute code.
411
+
Iftheuploadercan't be launched, Snapshot Collector reports an `UploaderCannotStartFromShadowCopy` error. The body of the message often contains `System.UnauthorizedAccessException`. This error usually occurs because the application is running under an account with reduced permissions. The account has permission to write to the shadow copy folder, but it doesn'thavepermissiontoexecutecode.
411
412
412
-
Sincetheseerrorsusuallyhappenduringstartup, theywillusuallybefollowedbyan `ExceptionDuringConnect` errorsaying_"Uploader failed to start."_
413
+
Sincetheseerrorsusuallyhappenduringstartup, they'll usually be followed by an `ExceptionDuringConnect` error saying _"Uploader failed to start."_
0 commit comments