Skip to content

Commit 12d0cc7

Browse files
committed
Merged main into live
2 parents 88b4a86 + 416f200 commit 12d0cc7

27 files changed

+36
-27
lines changed
Loading
Loading
Loading

docs/debugger/debugging-preparation-visual-cpp-project-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ This section describes how to debug the basic project types created by the Visua
8080

8181
6. Open the **Linker** node, and select **Debugging**. In the first **Generate** row, select **Yes (/DEBUG)** from the drop-down list. Always set this when you are debugging.
8282

83-
For more information, see[Project Settings for a C++ Debug Configuration](../debugger/project-settings-for-a-cpp-debug-configuration.md).
83+
For more information, see [Project Settings for a C++ Debug Configuration](../debugger/project-settings-for-a-cpp-debug-configuration.md).
8484

8585
[In this topic](../debugger/debugging-preparation-visual-cpp-project-types.md#BKMK_In_this_topic)
8686

8787
## Related content
8888
- [First look at the debugger](../debugger/debugger-feature-tour.md)
8989
- [Project Settings for a C++ Debug Configuration](../debugger/project-settings-for-a-cpp-debug-configuration.md)
9090
- [Attaching to a Running Program or Multiple Programs](../debugger/attach-to-running-processes-with-the-visual-studio-debugger.md)
91-
- [Debug and Release Configurations](../debugger/how-to-set-debug-and-release-configurations.md)
91+
- [Debug and Release Configurations](../debugger/how-to-set-debug-and-release-configurations.md)
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

docs/extensibility/debugger/control-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You must send events during the controlled execution of your program. All of the
1919

2020
- Sending the [IDebugEngineCreateEvent2](../../extensibility/debugger/reference/idebugenginecreateevent2.md) interface when the debug engine (DE) is initialized requires you to implement the [IDebugEngineCreateEvent2::GetEngine](../../extensibility/debugger/reference/idebugenginecreateevent2-getengine.md) method.
2121

22-
- Execution control requires implementation of such control events as the [IDebugBreakEvent2](../../extensibility/debugger/reference/idebugbreakevent2.md) and[IDebugStepCompleteEvent2](../../extensibility/debugger/reference/idebugstepcompleteevent2.md) interfaces. **IDebugBreakEvent2** is required only for asynchronous breaks.
22+
- Execution control requires implementation of such control events as the [IDebugBreakEvent2](../../extensibility/debugger/reference/idebugbreakevent2.md) and [IDebugStepCompleteEvent2](../../extensibility/debugger/reference/idebugstepcompleteevent2.md) interfaces. **IDebugBreakEvent2** is required only for asynchronous breaks.
2323

2424
- Stepping into functions requires implementation of the [IDebugStepCompleteEvent2](../../extensibility/debugger/reference/idebugstepcompleteevent2.md) interface and its methods.
2525

docs/extensibility/debugger/implementing-and-registering-a-port-supplier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.subservice: debug-diagnostics
1616
The role of a port supplier is to track and supply ports, which in turn manage processes. When a port needs to be created, the port supplier is instantiated using CoCreate with the port supplier's GUID (the session debug manager [SDM] will use the port supplier that the user selected or the port supplier specified by the project system). The SDM then calls [CanAddPort](../../extensibility/debugger/reference/idebugportsupplier2-canaddport.md) to see if any ports can be added. If a port can be added, a new port is requested by calling [AddPort](../../extensibility/debugger/reference/idebugportsupplier2-addport.md) and passing it an [IDebugPortRequest2](../../extensibility/debugger/reference/idebugportrequest2.md) that describes the port. `AddPort` returns a new port represented by an [IDebugPort2](../../extensibility/debugger/reference/idebugport2.md) interface.
1717

1818
## Discussion
19-
A port is created by a port supplier, which is associated with a machine or debug server. A server enumerates its port suppliers through the[EnumPortSuppliers](../../extensibility/debugger/reference/idebugcoreserver2-enumportsuppliers.md) method, and a port supplier enumerates its ports through the [EnumPorts](../../extensibility/debugger/reference/idebugportsupplier2-enumports.md) method.
19+
A port is created by a port supplier, which is associated with a machine or debug server. A server enumerates its port suppliers through the [EnumPortSuppliers](../../extensibility/debugger/reference/idebugcoreserver2-enumportsuppliers.md) method, and a port supplier enumerates its ports through the [EnumPorts](../../extensibility/debugger/reference/idebugportsupplier2-enumports.md) method.
2020

2121
In addition to the typical COM registration, a port supplier must register itself with Visual Studio by placing its CLSID and name in specific registry locations. A Debugging SDK helper function called `SetMetric` handles this chore: it is called once for each item to be registered, thus:
2222

docs/extensibility/debugger/reference/bp-passcount.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Describes the count and conditions upon which a conditional breakpoint is fired."
32
title: BP_PASSCOUNT
3+
description: "Describes the count and conditions upon which a conditional breakpoint is fired."
44
ms.date: 11/04/2016
55
ms.topic: reference
66
f1_keywords:
@@ -47,7 +47,7 @@ A value from the [BP_PASSCOUNT_STYLE](../../../extensibility/debugger/reference/
4747
## Remarks
4848
This structure is a member of the [BP_REQUEST_INFO](../../../extensibility/debugger/reference/bp-request-info.md) structure.
4949
50-
This structure is also passed as a parameter to the[SetPassCount](../../../extensibility/debugger/reference/idebugboundbreakpoint2-setpasscount.md) and[SetPassCount](../../../extensibility/debugger/reference/idebugpendingbreakpoint2-setpasscount.md) methods.
50+
This structure is also passed as a parameter to the [SetPassCount](../../../extensibility/debugger/reference/idebugboundbreakpoint2-setpasscount.md) and [SetPassCount](../../../extensibility/debugger/reference/idebugpendingbreakpoint2-setpasscount.md) methods.
5151
5252
## Requirements
5353
Header: msdbg.h

docs/extensibility/debugger/reference/debug-address-union.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Describes different kinds of addresses."
32
title: DEBUG_ADDRESS_UNION
3+
description: "Describes different kinds of addresses."
44
ms.date: 11/04/2016
55
ms.topic: reference
66
f1_keywords:
@@ -56,28 +56,28 @@ A value from the [ADDRESS_KIND](../../../extensibility/debugger/reference/addres
5656
[C++ only] Contains the [NATIVE_ADDRESS](../../../extensibility/debugger/reference/native-address.md) structure if `dwKind` = ADDRESS_KIND_NATIVE.
5757
5858
`addr.addrThisRel`\
59-
[C++ only] Contains the[UNMANAGED_ADDRESS_THIS_RELATIVE](../../../extensibility/debugger/reference/unmanaged-address-this-relative.md) structure if `dwKind` = ADDRESS_KIND_UNMANAGED_THIS_RELATIVE.
59+
[C++ only] Contains the [UNMANAGED_ADDRESS_THIS_RELATIVE](../../../extensibility/debugger/reference/unmanaged-address-this-relative.md) structure if `dwKind` = ADDRESS_KIND_UNMANAGED_THIS_RELATIVE.
6060
6161
`addr.addUPhysical`\
62-
[C++ only] Contains the[UNMANAGED_ADDRESS_PHYSICAL](../../../extensibility/debugger/reference/unmanaged-address-physical.md) structure if `dwKind` = ADDRESS_KIND_UNMANAGED_PHYSICAL.
62+
[C++ only] Contains the [UNMANAGED_ADDRESS_PHYSICAL](../../../extensibility/debugger/reference/unmanaged-address-physical.md) structure if `dwKind` = ADDRESS_KIND_UNMANAGED_PHYSICAL.
6363
6464
`addr.addrMethod`\
65-
[C++ only] Contains the[METADATA_ADDRESS_METHOD](../../../extensibility/debugger/reference/metadata-address-method.md) structure if `dwKind` = ADDRESS_KIND_METHOD.
65+
[C++ only] Contains the [METADATA_ADDRESS_METHOD](../../../extensibility/debugger/reference/metadata-address-method.md) structure if `dwKind` = ADDRESS_KIND_METHOD.
6666
6767
`addr.addrField`\
68-
[C++ only] Contains the[METADATA_ADDRESS_FIELD](../../../extensibility/debugger/reference/metadata-address-field.md) structure if `dwKind` = ADDRESS_KIND_FIELD.
68+
[C++ only] Contains the [METADATA_ADDRESS_FIELD](../../../extensibility/debugger/reference/metadata-address-field.md) structure if `dwKind` = ADDRESS_KIND_FIELD.
6969
7070
`addr.addrLocal`\
71-
[C++ only] Contains the[METADATA_ADDRESS_LOCAL](../../../extensibility/debugger/reference/metadata-address-local.md) structure if `dwKind` = ADDRESS_KIND_LOCAL.
71+
[C++ only] Contains the [METADATA_ADDRESS_LOCAL](../../../extensibility/debugger/reference/metadata-address-local.md) structure if `dwKind` = ADDRESS_KIND_LOCAL.
7272
7373
`addr.addrParam`\
74-
[C++ only] Contains the[METADATA_ADDRESS_PARAM](../../../extensibility/debugger/reference/metadata-address-param.md) structure if `dwKind` = ADDRESS_KIND_PARAM.
74+
[C++ only] Contains the [METADATA_ADDRESS_PARAM](../../../extensibility/debugger/reference/metadata-address-param.md) structure if `dwKind` = ADDRESS_KIND_PARAM.
7575
7676
`addr.addrArrayElem`\
77-
[C++ only] Contains the[METADATA_ADDRESS_ARRAYELEM](../../../extensibility/debugger/reference/metadata-address-arrayelem.md) structure if `dwKind` = ADDRESS_KIND_ARRAYELEM.
77+
[C++ only] Contains the [METADATA_ADDRESS_ARRAYELEM](../../../extensibility/debugger/reference/metadata-address-arrayelem.md) structure if `dwKind` = ADDRESS_KIND_ARRAYELEM.
7878
7979
`addr.addrRetVal`\
80-
[C++ only] Contains the[METADATA_ADDRESS_RETVAL](../../../extensibility/debugger/reference/metadata-address-retval.md) structure if `dwKind` = ADDRESS_KIND_RETVAL.
80+
[C++ only] Contains the [METADATA_ADDRESS_RETVAL](../../../extensibility/debugger/reference/metadata-address-retval.md) structure if `dwKind` = ADDRESS_KIND_RETVAL.
8181
8282
`addr.unused`\
8383
[C++ only] padding.

docs/extensibility/debugger/reference/idebugbreakpointrequest2-getlocationtype.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Gets the breakpoint location type of this breakpoint request."
32
title: IDebugBreakpointRequest2::GetLocationType
3+
description: "Gets the breakpoint location type of this breakpoint request."
44
ms.date: 11/04/2016
55
ms.topic: reference
66
f1_keywords:
@@ -43,7 +43,7 @@ HRESULT GetLocationType(
4343
If successful, returns `S_OK`; otherwise, returns an error code. Returns `E_FAIL` if the `bpLocation` field in the associated [BP_REQUEST_INFO](../../../extensibility/debugger/reference/bp-request-info.md) structure is not valid.
4444

4545
## Example
46-
The following example shows how to implement this method for a simple `CDebugBreakpointRequest` object that exposes the[IDebugBreakpointRequest2](../../../extensibility/debugger/reference/idebugbreakpointrequest2.md) interface.
46+
The following example shows how to implement this method for a simple `CDebugBreakpointRequest` object that exposes the [IDebugBreakpointRequest2](../../../extensibility/debugger/reference/idebugbreakpointrequest2.md) interface.
4747

4848
```
4949
HRESULT CDebugBreakpointRequest::GetLocationType(BP_LOCATION_TYPE* pBPLocationType)

docs/extensibility/internals/services-provided-source-control-vspackage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.subservice: extensibility-integration
1313
---
1414
# Services Provided (Source Control VSPackage)
1515

16-
Services are the primary mechanism through which functionality is shared among VSPackages and between the Visual Studio integrated development environment (IDE) and its installed VSPackages. For detailed description of services and their importance in the Visual Studio IDE, see[Using and Providing Services](../../extensibility/using-and-providing-services.md).
16+
Services are the primary mechanism through which functionality is shared among VSPackages and between the Visual Studio integrated development environment (IDE) and its installed VSPackages. For detailed description of services and their importance in the Visual Studio IDE, see [Using and Providing Services](../../extensibility/using-and-providing-services.md).
1717

1818
## The Source Control Service
1919
Visual Studio provides two layers of services, IDE-level services and package-level services. The Visual Studio IDE natively provides IDE-level services. The source control package consumes some of these services. The source control package as a VSPackage shares its source control functionality by providing a private source control service of its own. The source control package encapsulates the set of source control-related interfaces implemented by it in the form of a contract that can be used by the Visual Studio IDE.

docs/extensibility/walkthrough-creating-a-view-adornment-commands-and-settings-column-guides.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In this walkthrough, you:
2020
- Place the commands on the Edit menu and text document context menus
2121
- Add support for invoking the commands from the Visual Studio Command Window
2222

23-
You can try out a version of the column guides feature with this Visual Studio Gallery[extension](https://marketplace.visualstudio.com/items?itemName=PaulHarrington.EditorGuidelines).
23+
You can try out a version of the column guides feature with this Visual Studio Gallery [extension](https://marketplace.visualstudio.com/items?itemName=PaulHarrington.EditorGuidelines).
2424

2525
> [!NOTE]
2626
> In this walkthrough, you paste a great amount of code into a few files generated by Visual Studio extension templates. But, soon this walkthrough will refer to a completed solution on GitHub with other extension examples. The completed code is slightly different in that it has real command icons instead of using generictemplate icons.
@@ -1328,7 +1328,7 @@ If you want to try different command placements, change names, change icons, and
13281328
## Finished code project
13291329
There will soon be a GitHub project of Visual Studio Extensibility samples, and the completed project will be there. This article will be updated to point there when that happens. The completed sample project may have different guids and will have a different bitmaps strip for the command icons.
13301330

1331-
You can try out a version of the column guides feature with this Visual Studio Gallery[extension](https://marketplace.visualstudio.com/items?itemName=PaulHarrington.EditorGuidelines).
1331+
You can try out a version of the column guides feature with this Visual Studio Gallery [extension](https://marketplace.visualstudio.com/items?itemName=PaulHarrington.EditorGuidelines).
13321332
13331333
## Related content
13341334
- [Inside the editor](../extensibility/inside-the-editor.md)
929 Bytes
Loading
4.42 KB
Loading
2.57 KB
Loading
Loading
Loading

docs/ide/setting-bookmarks-in-code.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,38 @@
22
title: Set bookmarks in Visual Studio
33
description: Learn how to use bookmarks to mark lines in your code so that you can quickly return to a specific location, or jump back and forth between locations.
44
titleSuffix: ''
5-
ms.date: 04/26/2023
5+
ms.date: 09/09/2024
66
ms.topic: how-to
77
f1_keywords:
88
- VS.BookmarkWindow
99
author: anandmeg
1010
ms.author: meghaanand
1111
manager: mijacobs
1212
ms.subservice: general-ide
13-
ms.custom: engagement-fy23
1413
---
1514
# Bookmark code in Visual Studio
1615

1716
You can use bookmarks to mark lines in your code so that you can quickly return to a specific location, or jump back and forth between locations. Bookmarks can help you keep track of important parts of your code and remind you of what you might want to work on next, which can improve your productivity.
1817

1918
Bookmark commands and icons are available in two places:
2019

21-
- The **Bookmarks** window; to open it, select **View** > **Bookmark Window** from the menu bar, or use the **Ctrl**+**K**, **Ctrl**+**W** keyboard shortcut.
20+
- The **Text Editor** toolbar, which is the row of buttons under the menu bar in Visual Studio.
21+
22+
::: moniker range="<=vs-2019"
2223

23-
![Screenshot of the Bookmarks window.](media/bookmarks-window.png)
24+
:::image type="content" source="media/vs-2019/tutorial-editor-toolbar-bookmarks.png" alt-text="Screenshot of Bookmark commands and icons in the Text Editor toolbar in Visual Studio 2022.":::
2425

25-
- The **Bookmarks** toolbar
26+
::: moniker-end
2627

27-
![Screenshot of the Bookmarks toolbar in the Bookmarks window.](media/bookmarks-toolbar.png)
28+
::: moniker range=">=vs-2022"
29+
30+
:::image type="content" source="media/vs-2022/tutorial-editor-toolbar-bookmarks.png" alt-text="Screenshot of Bookmark commands and icons in the Text Editor toolbar in Visual Studio 2022.":::
31+
32+
::: moniker-end
33+
34+
- The **Bookmarks** toolbar in the **Bookmarks** window; to open it, select **View** > **Bookmark Window** from the menu bar, or use the **Ctrl**+**K**, **Ctrl**+**W** keyboard shortcut. The **Bookmarks** window
35+
36+
:::image type="content" source="media/bookmarks-window.png" alt-text="Screenshot that shows the Bookmarks window and the Bookmarks toolbar.":::
2837

2938
The following table includes available toolbar commands and their [keyboard shortcuts](default-keyboard-shortcuts-in-visual-studio.md), listed from left to right.
3039

subscriptions/about-benefits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Understand benefits in Visual Studio subscriptions
33
author: evanwindom
44
ms.author: amast
55
manager: shve
6-
ms.date: 05/23/2023
6+
ms.date: 09/09/2024
77
ms.topic: how-to
88
description: Explore benefits included in Visual Studio subscriptions, including benefits provided by partners, and how to activate the benefits.
99
---

0 commit comments

Comments
 (0)