Skip to content

Commit d0f836d

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents 3eeb7ef + c5155ea commit d0f836d

File tree

5 files changed

+180
-128
lines changed

5 files changed

+180
-128
lines changed

docs/debugger/debug-interface-access/symtagenum.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Specifies the type of symbol."
33
title: "SymTagEnum"
4-
ms.date: "07/22/2024"
4+
ms.date: "11/4/2024"
55
ms.topic: "reference"
66
dev_langs:
77
- "C++"
@@ -72,16 +72,16 @@ enum SymTagEnum {
7272
| Element | Description |
7373
-------------------------- | ---------------------------------------------------------------------------------------- |
7474
| `SymTagNull` | Indicates that the symbol has no type. |
75-
| `SymTagExe` | Indicates that the symbol is an .exe file.</br>There is only one `SymTagExe` symbol per symbol store.</br>It serves as the global scope and does not have a lexical parent. |
76-
| `SymTagCompiland` | Indicates the compiland symbol for each compiland component of the symbol store.</br>For native applications, `SymTagCompiland` symbols correspond to the object files linked into the image. For some kinds of Microsoft Intermediate Language (MSIL) images, there is one compiland per class. |
77-
| `SymTagCompilandDetails` | Indicates that the symbol contains extended attributes of the compiland.</br>Retrieving these properties may require loading compiland symbols. |
75+
| `SymTagExe` | Indicates that the symbol is an .exe file.</br> there's only one `SymTagExe` symbol per symbol store.</br> It serves as the global scope and doesn't have a lexical parent. |
76+
| `SymTagCompiland` | Indicates the compiland symbol for each compiland component of the symbol store.</br> For native applications, `SymTagCompiland` symbols correspond to the object files linked into the image. For some kinds of Microsoft Intermediate Language (MSIL) images, there's one compiland per class. |
77+
| `SymTagCompilandDetails` | Indicates that the symbol contains extended attributes of the compiland.</br> Retrieving these properties may require loading compiland symbols. |
7878
| `SymTagCompilandEnv` | Indicates that the symbol is an environment string defined for the compiland. |
7979
| `SymTagFunction` | Indicates that the symbol is a function. |
8080
| `SymTagBlock` | Indicates that the symbol is a nested block. |
8181
| `SymTagData` | Indicates that the symbol is data. |
82-
| `SymTagAnnotation` | Indicates that the symbol is for a code annotation.</br>Children of this symbol are constant data strings (`SymTagData`, `LocIsConstant`, and `DataIsConstant`).</br>Most clients ignore this symbol. |
82+
| `SymTagAnnotation` | Indicates that the symbol is for a code annotation.</br> Children of this symbol are constant data strings (`SymTagData`, `LocIsConstant`, and `DataIsConstant`).</br> Most clients ignore this symbol. |
8383
| `SymTagLabel` | Indicates that the symbol is a label. |
84-
| `SymTagPublicSymbol` | Indicates that the symbol is a public symbol. For native applications,</br>this symbol is the COFF external symbol encountered while linking the image. |
84+
| `SymTagPublicSymbol` | Indicates that the symbol is a public symbol. For native applications, this symbol is the COFF external symbol encountered while linking the image. |
8585
| `SymTagUDT` | Indicates that the symbol is a user-defined type (structure, class, or union). |
8686
| `SymTagEnum` | Indicates that the symbol is an enumeration. |
8787
| `SymTagFunctionType` | Indicates that the symbol is a function signature type. |
@@ -97,8 +97,8 @@ enum SymTagEnum {
9797
| `SymTagUsingNamespace` | Indicates that the symbol is a namespace name active in the current scope. |
9898
| `SymTagVTableShape` | Indicates that the symbol is a virtual table description. |
9999
| `SymTagVTable` | Indicates that the symbol is a virtual table pointer. |
100-
| `SymTagCustom` | Indicates that the symbol is a custom symbol and is not interpreted by DIA. |
101-
| `SymTagThunk` | Indicates that the symbol is a thunk used for sharing data between 16 and 32 bit code. |
100+
| `SymTagCustom` | Indicates that the symbol is a custom symbol.</br> Microsoft Debug Interface Access (DIA) SDK doesn't provide further interpretation of these symbols. |
101+
| `SymTagThunk` | Indicates that the symbol is a thunk used for sharing data between 16-bit and 32-bit code. |
102102
| `SymTagCustomType` | Indicates that the symbol is a custom compiler symbol. |
103103
| `SymTagManagedType` | Indicates that the symbol is in metadata. |
104104
| `SymTagDimension` | Indicates that the symbol is a FORTRAN multi-dimensional array. |
@@ -108,37 +108,37 @@ enum SymTagEnum {
108108
| `SymTagVectorType` | Indicates that the symbol is a vector type. |
109109
| `SymTagMatrixType` | Indicates that the symbol is a matrix type. |
110110
| `SymTagHLSLType` | Indicates that the symbol is a High Level Shader Language type. |
111-
| `SymTagCaller` | Indicates that the symbol represents PGO caller information. |
111+
| `SymTagCaller` | Indicates that the symbol represents Profile-guided optimization (PGO) caller information. |
112112
| `SymTagCallee` | Indicates that the symbol represents PGO callee information. |
113113
| `SymTagExport` | Indicates that the symbol is an export from a DLL. |
114-
| `SymTagHeapAllocationSite`| Indicates that the symbol represents a heap allocation site (i.e. call to `operator new`)|
114+
| `SymTagHeapAllocationSite`| Indicates that the symbol represents a heap allocation site (for example, a call to `operator new`)|
115115
| `SymTagCoffGroup` | Indicates that the symbol is a COFF group. |
116116
| `SymTagInlinee` | Indicates that the symbol represents the inlinee of an inline site (see `SymTagInlineSite`).|
117-
| `SymTagTaggedUnionCase` | Indicates that the symbol is a tagged union (e.g. Rust's enum type) |
117+
| `SymTagTaggedUnionCase` | Indicates that the symbol is a tagged union (for example, Rust's enum type) |
118118

119119
## Remarks
120120

121121
All symbols within a debug file have an identifying tag that specifies the symbol's type.
122122

123-
The values in this enumeration are returned by a call to the [IDiaSymbol::get_symTag](../../debugger/debug-interface-access/idiasymbol-get-symtag.md) method.
123+
The [`IDiaSymbol::get_symTag`](../../debugger/debug-interface-access/idiasymbol-get-symtag.md) method returns values from this enumeration.
124124

125125
The values in this enumeration are passed to the following methods to limit the scope of the search to a specific symbol type:
126126

127127
- [`IDiaSession::findSymbolByAddr`](../../debugger/debug-interface-access/idiasession-findsymbolbyaddr.md)
128-
`
129-
- [`IDiaSession`::findSymbolByRVA`](../../debugger/debug-interface-access/idiasession-findsymbolbyrva.md)
130-
`
131-
- [`IDiaSession`::findSymbolByRVAEx`](../../debugger/debug-interface-access/idiasession-findsymbolbyrvaex.md)
132-
`
133-
- [`IDiaSession`::findSymbolByToken`](../../debugger/debug-interface-access/idiasession-findsymbolbytoken.md)
134-
`
135-
- [`IDiaSession`::findSymbolByVA`](../../debugger/debug-interface-access/idiasession-findsymbolbyva.md)
136-
`
137-
- [`IDiaSession`::findSymbolByVAEx`](../../debugger/debug-interface-access/idiasession-findsymbolbyvaex.md)
138-
`
139-
- [`IDiaSession`::findChildren`](../../debugger/debug-interface-access/idiasession-findchildren.md)
140-
`
141-
- [`IDiaSymbol`::findChildren`](../../debugger/debug-interface-access/idiasymbol-findchildren.md)
128+
129+
- [`IDiaSession::findSymbolByRVA`](../../debugger/debug-interface-access/idiasession-findsymbolbyrva.md)
130+
131+
- [`IDiaSession::findSymbolByRVAEx`](../../debugger/debug-interface-access/idiasession-findsymbolbyrvaex.md)
132+
133+
- [`IDiaSession::findSymbolByToken`](../../debugger/debug-interface-access/idiasession-findsymbolbytoken.md)
134+
135+
- [`IDiaSession::findSymbolByVA`](../../debugger/debug-interface-access/idiasession-findsymbolbyva.md)
136+
137+
- [`IDiaSession::findSymbolByVAEx`](../../debugger/debug-interface-access/idiasession-findsymbolbyvaex.md)
138+
139+
- [`IDiaSession::findChildren`](../../debugger/debug-interface-access/idiasession-findchildren.md)
140+
141+
- [`IDiaSymbol::findChildren`](../../debugger/debug-interface-access/idiasymbol-findchildren.md)
142142

143143
## Requirements
144144

docs/debugger/using-breakpoints.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,11 @@ To set a default breakpoint group, right-click a group and select **Set as defau
385385

386386
### Export and import breakpoints
387387

388-
To save or share the state and location of your breakpoints, you can export or import them.
388+
To save or share the state and location of your breakpoints, you can export or import them.
389+
390+
::: moniker range=">= vs-2022"
391+
Starting in Visual Studio 2022 version 17.12 Preview 3, breakpoint groups are also included with the exported and imported breakpoints.
392+
::: moniker-end
389393

390394
- To export a single breakpoint to an XML file, right-click the breakpoint in the source code or **Breakpoints** window, and select **Export** or **Export selected**. Select an export location, and then select **Save**. The default location is the solution folder.
391395
- To export several breakpoints, in the **Breakpoints** window, select the boxes next to the breakpoints, or enter search criteria in the **Search** field. Select the **Export all breakpoints matching the current search criteria** icon, and save the file.

0 commit comments

Comments
 (0)