Skip to content

Repo sync for protected branch #10346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 14, 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 14 additions & 1 deletion docs/debugger/using-breakpoints.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Use breakpoints in the debugger
description: Learn about breakpoints, one of the most important debugging techniques. The article covers breakpoint actions, tracepoints, conditions, and much more.
ms.date: 12/06/2023
ms.date: 08/13/2024
ms.topic: how-to
f1_keywords:
- vs.debug.breakpointswin
Expand Down Expand Up @@ -370,6 +370,19 @@ You can use labels to sort and filter the list of breakpoints in the **Breakpoin
1. To add a label to a breakpoint, right-click the breakpoint in the source code or the **Breakpoints** window, and then select **Edit labels**. Add a new label or choose an existing one, and then select **OK**.
2. Sort the breakpoint list in the **Breakpoints** window by selecting the **Labels**, **Conditions**, or other column headers. You can select the columns to display by selecting **Show Columns** in the toolbar.

::: moniker range=">= vs-2022"
### Breakpoint groups

For complex debugging scenarios, you may want to create breakpoint groups to organize your breakpoints. This allows you to quickly enable and disable logical groupings of breakpoints, based upon the current scenario that you're trying to debug.

You can create breakpoints in the **Breakpoints** window by selecting **New > Breakpoint Group**, and providing a name for the group. To add a breakpoint to a group, right-click the breakpoint and choose **Add to Breakpoint Group** > **\<group name\>**. Or, drag-and-drop your breakpoints into the desired group.

![Screenshot of breakpoint groups.](../debugger/media/vs-2022/breakpoints-window-breakpoint-groups.png)

To set a default breakpoint group, right-click a group and select **Set as default Breakpoint Group**. When you set a default breakpoint group, newly created breakpoints are automatically added to the group.

::: moniker-end

### Export and import breakpoints

To save or share the state and location of your breakpoints, you can export or import them.
Expand Down
6 changes: 2 additions & 4 deletions docs/version-control/git-browse-repository.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Browse repos, compare branches & commits"
description: Browse any Git repository in Visual Studio by using the Git Repository window to view local and remote branches and multiple branches at the same time.
ms.date: 08/08/2023
ms.date: 08/13/2024
ms.topic: how-to
author: ghogen
ms.author: ghogen
Expand Down Expand Up @@ -53,8 +53,6 @@ You can browse through any local or remote branch without having to switch your

There's both line coloring and branch labels on the left side of the **Local History** view that help make it easier to trace which commits belong to each branch. You can use the list of branches at the top of the table to scroll between branches more easily and know immediately which branches appear in the graph.

<a name="compare-commits"/>

## Compare commits

To compare any two commits in your branch, use the **Ctrl** key to select the two commits that you want to compare. Then, right-click one of them and select **Compare Commits**.
Expand Down Expand Up @@ -118,4 +116,4 @@ Checking out the tip of a remote branch can be helpful if you would like to quic
## Related content

- [Manage Git repositories in Visual Studio](git-manage-repository.md)
- [The Git experience in Visual Studio](git-with-visual-studio.md)
- [The Git experience in Visual Studio](git-with-visual-studio.md)