Skip to content

Commit 9a39bfa

Browse files
committed
Fix more clarity suggestions
1 parent 2e43029 commit 9a39bfa

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

articles/application-insights/app-insights-snapshot-debugger.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The following environments are supported:
161161

162162
### Configure snapshot collection for other .NET applications
163163

164-
1. If your application is not already instrumented with Application Insights, get started by [enabling Application Insights and setting the instrumentation key](app-insights-windows-desktop.md).
164+
1. If your application isn't already instrumented with Application Insights, get started by [enabling Application Insights and setting the instrumentation key](app-insights-windows-desktop.md).
165165

166166
2. Add the [Microsoft.ApplicationInsights.SnapshotCollector](http://www.nuget.org/packages/Microsoft.ApplicationInsights.SnapshotCollector) NuGet package in your app.
167167

@@ -254,7 +254,7 @@ Version 15.2 (or above) of Visual Studio 2017 publishes symbols for release buil
254254
<ExcludeGeneratedDebugSymbol>False</ExcludeGeneratedDebugSymbol>
255255
```
256256

257-
For Azure Compute and other types, ensure that the symbol files are in the same folder of the main application .dll (typically, `wwwroot/bin`) or are available on the current path.
257+
For Azure Compute and other types, make sure that the symbol files are in the same folder of the main application .dll (typically, `wwwroot/bin`) or are available on the current path.
258258

259259
### Optimized builds
260260
In some cases, local variables can't be viewed in release builds because of optimizations that are applied by the JIT compiler.
@@ -345,14 +345,14 @@ SnapshotUploader.exe Information: 0 : Deleted PDB scan marker : D:\local\Temp\Du
345345
DateTime=2018-03-09T01:47:19.4614027Z
346346
```
347347

348-
For applications that are _not_ hosted in App Service, the uploader logs are in the same folder as the minidumps: `%TEMP%\Dumps\<ikey>` (where `<ikey>` is your instrumentation key).
348+
For applications that _aren't_ hosted in App Service, the uploader logs are in the same folder as the minidumps: `%TEMP%\Dumps\<ikey>` (where `<ikey>` is your instrumentation key).
349349

350350
### Troubleshooting Cloud Services
351351
For roles in Cloud Services, the default temporary folder may be too small to hold the minidump files, leading to lost snapshots.
352352
The space needed depends on the total working set of your application and the number of concurrent snapshots.
353353
The working set of a 32-bit ASP.NET web role is typically between 200 MB and 500 MB.
354354
Allow for at least two concurrent snapshots.
355-
For example, if your application uses 1 GB of total working set, you should ensure that there is at least 2 GB of disk space to store snapshots.
355+
For example, if your application uses 1 GB of total working set, you should make sure that there is at least 2 GB of disk space to store snapshots.
356356
Follow these steps to configure your Cloud Service role with a dedicated local resource for snapshots.
357357

358358
1. Add a new local resource to your Cloud Service by editing the Cloud Service definition (.csdef) file. The following example defines a resource called `SnapshotStore` with a size of 5 GB.
@@ -401,8 +401,13 @@ Follow these steps to configure your Cloud Service role with a dedicated local r
401401

402402
### Overriding the Shadow Copy folder
403403

404-
When the Snapshot Collector starts up, it tries to find a folder on disk that is suitable for running the Snapshot Uploader process.
405-
The Snapshot Collector checks a few well-known locations (environment variables LOCALAPPDATA, APPDATA, and TEMP, among others), making sure it has permissions to copy the Snapshot Uploader binaries. The chosen folder is known as the Shadow Copy folder.
404+
When the Snapshot Collector starts up, it tries to find a folder on disk that is suitable for running the Snapshot Uploader process. The chosen folder is known as the Shadow Copy folder.
405+
406+
The Snapshot Collector checks a few well-known locations, making sure it has permissions to copy the Snapshot Uploader binaries. The following environment variables are used:
407+
- Fabric_Folder_App_Temp
408+
- LOCALAPPDATA
409+
- APPDATA
410+
- TEMP
406411

407412
If a suitable folder can't be found, Snapshot Collector reports an error saying _"Could not find a suitable shadow copy folder."_
408413

0 commit comments

Comments
 (0)