Skip to content

Commit 5d8dbb4

Browse files
authored
Merge pull request #7794 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch master)
2 parents cc8547e + 10bae0f commit 5d8dbb4

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

docs/azure/vs-azure-tools-debug-cloud-services-virtual-machines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Visual Studio gives you different options for debugging Azure cloud services and
1515

1616
## Debug your cloud service on your local computer
1717

18-
You can save time and money by using the Azure compute emulator to debug your cloud service on a local machine. By debugging a service locally before you deploy it, you can improve reliability and performance without paying for compute time. However, some errors might occur only when you run a cloud service in Azure itself. You can debug these errors if you enable remote debugging when you publish your service and then attach the debugger to a role instance.
18+
You can save time and money by using the Azure Compute Emulator to debug your cloud service on a local machine. By debugging a service locally before you deploy it, you can improve reliability and performance without paying for compute time. However, some errors might occur only when you run a cloud service in Azure itself. You can debug these errors if you enable remote debugging when you publish your service and then attach the debugger to a role instance.
1919

2020
The emulator simulates the Azure Compute service and runs in your local environment so that you can test and debug your cloud service before you deploy it. The emulator handles the lifecycle of your role instances and provides access to simulated resources, such as local storage. When you debug or run your service from Visual Studio, it automatically starts the emulator as a background application and then deploys your service to the emulator. You can use the emulator to view your service when it runs in the local environment. You can run the full version or the express version of the emulator. (Starting with Azure 2.3, the express version of the emulator is the default.) See [Using Emulator Express to Run and Debug a Cloud Service Locally](vs-azure-tools-emulator-express-debug-run.md).
2121

docs/azure/vs-azure-tools-debugging-cloud-services-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.technology: vs-ide-debug
1313
This article provides links to the various ways to debug an Azure cloud service.
1414

1515
## Debugging an Azure cloud service in Visual Studio
16-
You can save time and money by using the Azure compute emulator to debug your cloud service on a local machine. By debugging a service locally before you deploy it, you can improve reliability and performance without paying for compute time. However, some errors might occur only when you run a cloud service in Azure. Errors that occur only when you run a cloud service in Azure can be debugged by enabling remote debugging when you publish your service, and then attaching the debugger to a role instance. For more information, see [Debug your cloud service on your local computer](vs-azure-tools-debug-cloud-services-virtual-machines.md#debug-your-cloud-service-on-your-local-computer).
16+
You can save time and money by using the Azure Compute Emulator to debug your cloud service on a local machine. By debugging a service locally before you deploy it, you can improve reliability and performance without paying for compute time. However, some errors might occur only when you run a cloud service in Azure. Errors that occur only when you run a cloud service in Azure can be debugged by enabling remote debugging when you publish your service, and then attaching the debugger to a role instance. For more information, see [Debug your cloud service on your local computer](vs-azure-tools-debug-cloud-services-virtual-machines.md#debug-your-cloud-service-on-your-local-computer).
1717

1818
## Using IntelliTrace
1919
If you are using Visual Studio Enterprise to write roles targeted .NET Framework 4.5, you can enable IntelliTrace at the time that you deploy an Azure cloud service from Visual Studio. IntelliTrace provides a log that you can use with Visual Studio to debug your application as if it were running in Azure. For more information, see [Debugging a published cloud service with IntelliTrace and Visual Studio](vs-azure-tools-intellitrace-debug-published-cloud-services.md).

docs/code-quality/use-roslyn-analyzers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,4 +412,5 @@ In a .NET Core project, if you add a reference to a project that has NuGet analy
412412
- [Overview of code analyzers in Visual Studio](../code-quality/roslyn-analyzers-overview.md)
413413
- [Submit a code analyzer bug](https://github.com/dotnet/roslyn-analyzers/issues)
414414
- [Use rule sets](../code-quality/using-rule-sets-to-group-code-analysis-rules.md)
415-
- [Suppress code analysis warnings](../code-quality/in-source-suppression-overview.md)
415+
- [Suppress code analysis warnings](../code-quality/in-source-suppression-overview.md)
416+
- [Configuration options for code analysis (.NET)](/dotnet/fundamentals/code-analysis/configuration-options)

docs/debugger/assertions-in-managed-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Debug.Assert ( stacksize > 0 );
167167
Trace.Assert ( stacksize > 0 );
168168
```
169169

170-
The second and third arguments, if present, must be strings. If you call <xref:System.Diagnostics.Trace.Assert%2A?displayProperty=fullName> or <xref:System.Diagnostics.Debug.Assert%2A?displayProperty=fullName> with two or three arguments, the first argument is a condition. The method checks the condition and, if the result is false, outputs the second string and third strings. The following example shows <xref:System.Diagnostics.Debug.Assert(System.Boolean,System.String)?displayProperty=fullName> and <xref:System.Diagnostics.Trace.Assert(System.Boolean,System.String)?displayProperty=fullName> used with two arguments:
170+
The second and third arguments, if present, must be strings. If you call <xref:System.Diagnostics.Trace.Assert%2A?displayProperty=fullName> or <xref:System.Diagnostics.Debug.Assert%2A?displayProperty=fullName> with two or three arguments, the first argument is a condition. The method checks the condition and, if the result is false, outputs the second string and third strings. The following example shows <xref:System.Diagnostics.Debug.Assert(System.Boolean,System.String)?displayProperty=fullName> and <xref:System.Diagnostics.Trace.Assert(System.Boolean,System.String)?displayProperty=fullName> used with two arguments:
171171

172172
```VB
173173
Debug.Assert(stacksize > 0, "Out of stack space")
@@ -179,7 +179,7 @@ Debug.Assert ( stacksize > 0, "Out of stack space" );
179179
Trace.Assert ( stacksize > 0, "Out of stack space" );
180180
```
181181

182-
The following example shows <xref:System.Diagnostics.Debug.Assert%2A> and <xref:System.Diagnostics.Trace.Assert%2A>:
182+
The following example shows <xref:System.Diagnostics.Debug.Assert(System.Boolean,System.String,System.String)?displayProperty=fullName> and <xref:System.Diagnostics.Trace.Assert(System.Boolean,System.String,System.String)?displayProperty=fullName> used with three arguments:
183183

184184
```VB
185185
Debug.Assert(stacksize > 0, "Out of stack space. Bytes left:" , Format(size, "G"))
@@ -218,4 +218,4 @@ Trace.Assert ( stacksize > 0, "Out of stack space", "Failed in inctemp" );
218218
- [Tracing and Instrumenting Applications](/dotnet/framework/debug-trace-profile/tracing-and-instrumenting-applications)
219219
- [How to: Compile Conditionally with Trace and Debug](/dotnet/framework/debug-trace-profile/how-to-compile-conditionally-with-trace-and-debug)
220220
- [C#, F#, and Visual Basic Project Types](../debugger/debugging-preparation-csharp-f-hash-and-visual-basic-project-types.md)
221-
- [Debugging Managed Code](../debugger/debugging-managed-code.md)
221+
- [Debugging Managed Code](../debugger/debugging-managed-code.md)

0 commit comments

Comments
 (0)