Skip to content

Commit 999453f

Browse files
Merge pull request #13144 from Mikejo5000/mikejo-br24
Add Copilot content to debugger feature tour
2 parents 343af28 + 225e5f4 commit 999453f

6 files changed

+17
-9
lines changed

docs/debugger/debugger-feature-tour.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "First look at the debugger"
33
description: Get started debugging your applications by using the Visual Studio debugger and see what your code is doing while it runs.
44
ms.topic: conceptual
5-
ms.date: 09/14/2023
5+
ms.date: 09/20/2024
66
helpviewer_keywords:
77
- "debugger"
88
author: mikejo5000
@@ -242,6 +242,12 @@ Expand the **Exception Settings** node to see more options on how to handle this
242242
> If you have [Copilot](../ide/visual-studio-github-copilot-extension.md), you can get AI assistance while you're debugging exceptions. Just look for the **Ask Copilot** ![Screenshot of Ask Copilot button.](../debugger/media/vs-2022/debug-with-copilot-ask-copilot-button.png) button. For more information, see [Debug with Copilot](../debugger/debug-with-copilot.md).
243243
::: moniker-end
244244

245+
::: moniker range=">= vs-2022"
246+
## Get AI assistance
247+
248+
If you have [Copilot](../ide/visual-studio-github-copilot-extension.md), you can get AI assistance while you're debugging. For more information, see [Debug with Copilot](../debugger/debug-with-copilot.md). While debugging, you can also look for the **Ask Copilot** ![Screenshot of Ask Copilot button.](../debugger/media/vs-2022/debug-with-copilot-ask-copilot-button.png) button. In these scenarios, Copilot already knows the context for your questions, so you don't need to provide context yourself in Copilot chat.
249+
::: moniker-end
250+
245251
## Configure debugging
246252

247253
You can configure your project to build as a [Debug or Release configuration](../debugger/how-to-set-debug-and-release-configurations.md), configure project properties for debugging, or configure [general settings](../debugger/how-to-specify-debugger-settings.md) for debugging. In addition, you can configure the debugger to display custom information using features such as [DebuggerDisplay](using-the-debuggerdisplay-attribute.md) attribute or, for C/C++, the [NatVis framework](create-custom-views-of-native-objects.md).

docs/deployment/clickonce-security-and-deployment.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ClickOnce Security and Deployment"
33
description: Learn about Visual Studio support for ClickOnce, a deployment technology that enables you to create self-updating Windows-based applications.
4-
ms.date: "09/14/2023"
4+
ms.date: "09/23/2024"
55
ms.topic: "conceptual"
66
dev_langs:
77
- "VB"
@@ -45,7 +45,9 @@ ClickOnce is a deployment technology that enables you to create self-updating Wi
4545
Authenticode certificates are used to verify the authenticity of the application's publisher. By using Authenticode for application deployment, ClickOnce helps prevent a harmful program from portraying itself as a legitimate program coming from an established, trustworthy source. Optionally, certificates can also be used to sign the application and deployment manifests to prove that the files haven't been tampered with. For more information, see [ClickOnce and Authenticode](../deployment/clickonce-and-authenticode.md). Certificates can also be used to configure client computers to have a list of trusted publishers. If an application comes from a trusted publisher, it can be installed without any user interaction. For more information, see [Trusted application deployment overview](../deployment/trusted-application-deployment-overview.md).
4646

4747
### Code access security
48-
Code access security helps limit the access that code has to protected resources. In most cases, you can choose the Internet or Local Intranet zones to limit the permissions. Use the **Security** page in the **ProjectDesigner** to request the zone appropriate for the application. You can also debug applications with restricted permissions to emulate the end-user experience. For more information, see [Code access security for ClickOnce applications](../deployment/code-access-security-for-clickonce-applications.md).
48+
Code access security helps limit the access that code has to protected resources. In most cases, you can choose the Internet or Local Intranet zones to limit the permissions. Use the **Security** page in the **Project Designer** to request the zone appropriate for the application. You can also debug applications with restricted permissions to emulate the end-user experience. For more information, see [Code access security for ClickOnce applications](../deployment/code-access-security-for-clickonce-applications.md).
49+
50+
[!INCLUDE[ndptecclick](../deployment/includes/dotnet-feature-unsupported.md)]
4951

5052
### ClickOnce trust prompt
5153
If the application requests more permissions than the zone allows, the end user can be prompted to make a trust decision. The end user can decide if ClickOnce applications such as Windows Forms applications, Windows Presentation Foundation applications, console applications, XAML browser applications, and Office solutions are trusted to run. For more information, see [How to: Configure the ClickOnce trust prompt behavior](../deployment/how-to-configure-the-clickonce-trust-prompt-behavior.md).

docs/profiling/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
author: mikejo5000
1212
ms.author: mikejo
1313
manager: mijacobs
14-
ms.date: 09/14/2023
14+
ms.date: 09/20/2024
1515

1616
# linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | video | whats-new
1717

docs/profiling/isolate-performance-issue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,17 @@ public async Task<ActionResult<string>> QueryCustomerDB()
129129
```
130130

131131
> [!TIP]
132-
> Alternatively, we can save time and let Copilot [do the research](#get-copilot-to-do-the-research) for us.
132+
> Alternatively, we can save time and let Copilot [do the research](#get-copilot-to-research-the-issue) for us.
133133
134134
If you see performance issues related to database queries, you can use the [Database tool](../profiling/analyze-database.md) to investigate whether certain calls are slower. This data might indicate an opportunity to optimize queries. For a tutorial that shows how to use the Database tool to investigate a performance issue, see [Case study: Beginner's guide to optimizing code](../profiling/optimize-code-using-profiling-tools.md). The Database tool supports .NET Core with either ADO.NET or Entity Framework Core.
135135

136136
To get visualizations in Visual Studio for individual thread behavior, you can use the [Parallel Stacks](../debugger/get-started-debugging-multithreaded-apps.md#ParallelStacks) window while debugging. This window shows individual threads along with information about threads that are waiting, threads they're waiting on, and [deadlocks](../debugger/using-the-parallel-stacks-window.md#stack-frame-icons).
137137

138138
For additional information on thread pool starvation, see [Detecting threadpool starvation](/dotnet/core/diagnostics/debug-threadpool-starvation#detecting-threadpool-starvation).
139139

140-
## Get Copilot to do the research
140+
## Get Copilot to research the issue
141141

142-
If we're using Copilot, we can ask Copilot to research performance issues for us. Select **Ask Copilot** from the context menu and type the following question:
142+
If we're using [Copilot](../ide/visual-studio-github-copilot-extension.md), we can ask Copilot to research performance issues for us. Select **Ask Copilot** from the context menu and type the following question:
143143

144144
```cmd
145145
Can you identify a performance issue in the QueryCustomerDB method?

docs/profiling/optimize-code-using-profiling-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Next, we retest using the profiling tools.
157157

158158
### Optimize code with Copilot
159159

160-
If we're using Copilot, we can ask Copilot to research performance issues for us. Select **Ask Copilot** from the context menu and type the following question:
160+
If we're using [Copilot](../ide/visual-studio-github-copilot-extension.md), we can ask Copilot to research performance issues for us. Select **Ask Copilot** from the context menu and type the following question:
161161

162162
```cmd
163163
Can you make the LINQ query in this method faster?

docs/test/configure-unit-tests-by-using-a-dot-runsettings-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configure unit tests with a .runsettings file
33
description: Learn how to use the .runsettings file in Visual Studio to configure unit tests that are run from the command line, from the IDE, or in a build workflow.
4-
ms.date: 09/05/2023
4+
ms.date: 09/11/2024
55
ms.topic: conceptual
66
ms.author: mikejo
77
manager: mijacobs

0 commit comments

Comments
 (0)