Skip to content

Commit 8a2d502

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/visualstudio-docs-pr into blueprintdebug
2 parents ab90288 + 94a5807 commit 8a2d502

File tree

67 files changed

+187
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+187
-154
lines changed

docs/code-quality/how-to-generate-code-metrics-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ The new command-line code metrics tool computes metrics even in the presence of
242242

243243
#### Metric value differences
244244

245-
Starting in Visual Studio 2019 version 16.4 and Microsoft.CodeAnalysis.Metics (2.9.5), `SourceLines` and `ExecutableLines` replace the previous `LinesOfCode` metric. For descriptions of the new metrics, see [Code metrics values](../code-quality/code-metrics-values.md). The `LinesOfCode` metric is available in legacy mode.
245+
Starting in Visual Studio 2019 version 16.4 and Microsoft.CodeAnalysis.Metrics (2.9.5), `SourceLines` and `ExecutableLines` replace the previous `LinesOfCode` metric. For descriptions of the new metrics, see [Code metrics values](../code-quality/code-metrics-values.md). The `LinesOfCode` metric is available in legacy mode.
246246

247247
Other metrics such as `CyclomaticComplexity` and `MaintainabilityIndex` use the same formulas as previous versions of *Metrics.exe*, but the new tool counts the number of `IOperations` (logical source instructions) instead of intermediate language (IL) instructions. The numbers will be slightly different to those generated by the Visual Studio IDE and by previous versions of *Metrics.exe*.
248248

docs/debugger/cpp-dynamic-debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ You might need to debug optimized code without it being deoptimized, or put a br
207207
208208
- On the Visual Studio main menu, select **Tools** > **Options** > **Debugging** > **General**. Clear the **Automatically deoptimize debugged functions when possible (.NET 8+, C++ Dynamic Debugging)** checkbox. The next time the debugger starts, code remains optimized.
209209
- Many dynamic debugging breakpoints are two breakpoints: one in the optimized binary and one in the unoptimized binary. In the **Breakpoints** window, select **Show Columns** > **Function**. Clear the breakpoint associated with the `alt` binary. The other breakpoint in the pair breaks in the optimized code.
210-
- When you're debugging, on the Visual Studio main menu, select **Debug** > **Windows** > **Disassembly**. Ensure that it has focus. When you step into a function via the **Dissassembly** window, the function won't be deoptimized.
210+
- When you're debugging, on the Visual Studio main menu, select **Debug** > **Windows** > **Disassembly**. Ensure that it has focus. When you step into a function via the **Disassembly** window, the function won't be deoptimized.
211211
- Disable dynamic debugging entirely by not passing `/dynamicdeopt` to `cl.exe`, `lib.exe`, and `link.exe`. If you're consuming third-party libraries and can't rebuild them, don't pass `/dynamicdeopt` during the final `link.exe` to disable Dynamic Debugging for that binary.
212212
- To quickly disable Dynamic Debugging for a single binary (for example, `test.dll`), rename or delete the `alt` binary (for example, `test.alt.dll`).
213213
- To disable Dynamic Debugging for one or more `.cpp` files, don't pass `/dynamicdeopt` when you build them. The remainder of your project is built with Dynamic Debugging.

docs/debugger/debug-interface-access/idiadatasource-loaddatafromcodeviewinfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t
6666

6767
## Remarks
6868

69-
The code view information, in `IMAGE_DEBUG_TYPE_CODEVIEW` format, names the associated debug data location as well as prodiving the signture and age fields to match against.
69+
The code view information, in `IMAGE_DEBUG_TYPE_CODEVIEW` format, names the associated debug data location as well as providing the signture and age fields to match against.
7070

7171
If you are loading debug data from a symbol server, *symsrv.dll* must be present in the same directory where either the user's application or *msdia140.dll* is installed, or it must be present in the system directory.
7272

docs/debugger/debug-interface-access/idiadatasourceex-setpfnminipdberrorcallback2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If successful, returns `S_OK`.
4242

4343
## Remarks
4444

45-
PDBs that are generated with /DEBUG:fastlink (also sometimes call mini PDBs), do not contain all the debug information and instead must read information out of the OBJs, LIBs and compiler generated PDBs used to make the final executable. If errors occur when trying to loacte or read those files, a callback maybe set to receive additional information about the failure.
45+
PDBs that are generated with /DEBUG:fastlink (also sometimes call mini PDBs), do not contain all the debug information and instead must read information out of the OBJs, LIBs and compiler generated PDBs used to make the final executable. If errors occur when trying to locate or read those files, a callback maybe set to receive additional information about the failure.
4646

4747
Only one callback function may be registered at a time. Attempting to register a second function will simply replace the first. To remove the registration, simply pass a `nullptr` for both arguments.
4848

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The following table shows the methods of `IDiaEnumSourceLink`.
3636

3737
## Remarks
3838

39-
Although [Source Link](https://github.com/dotnet/designs/blob/main/accepted/2020/diagnostics/source-link.md) is a well defined standard, the PDB and Debug Interface Access (DIA) SDK only have limited support for it. Specifically the DIA SDK treats the source link as a simple blob of bytes. It is the responsiblity of the caller to interpret those bytes as the correct character encoding (UTF-8, ASCII, and so on), parse as a JSON file, enforce a particular schema, or use that information to map and download individual source files.
39+
Although [Source Link](https://github.com/dotnet/designs/blob/main/accepted/2020/diagnostics/source-link.md) is a well defined standard, the PDB and Debug Interface Access (DIA) SDK only have limited support for it. Specifically the DIA SDK treats the source link as a simple blob of bytes. It is the responsibility of the caller to interpret those bytes as the correct character encoding (UTF-8, ASCII, and so on), parse as a JSON file, enforce a particular schema, or use that information to map and download individual source files.
4040

4141
## Notes for Callers
4242

docs/debugger/debug-interface-access/idiainputassemblyfile-get-uniqueid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ HRESULT get_uniqueId(
2929

3030
`pRetVal`
3131

32-
[out] Returns the unique identifer for this file.
32+
[out] Returns the unique identifier for this file.
3333

3434
## Return Value
3535

docs/debugger/debug-interface-access/idiasessionex-isfastlinkpdb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ HRESULT isFastLinkPDB(
2929

3030
`pfFastLinkPDB`
3131

32-
[out] Returns a Boolean indcating if the debug information was build with `/DEBUG:fastlink` or not.
32+
[out] Returns a Boolean indicating if the debug information was build with `/DEBUG:fastlink` or not.
3333

3434
## Return Value
3535

docs/debugger/debug-interface-access/idiasessionex-isportablepdb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ HRESULT isPortablePDB(
2929

3030
`pfPortablePDB`
3131

32-
[out] Returns a Boolean indcating if the debug information was in the [Portable PDB](https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md) format.
32+
[out] Returns a Boolean indicating if the debug information was in the [Portable PDB](https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md) format.
3333

3434
## Return Value
3535

docs/debugger/debug-interface-access/idiasymbol-get-bindspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.subservice: debug-diagnostics
1515

1616
# IDiaSymbol::get_bindSpace
1717

18-
Retrives the binding space.
18+
Retrieves the binding space.
1919

2020
## Syntax
2121

docs/debugger/debug-interface-access/idiasymbol-get-hasvalidpgocounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ HRESULT get_isget_hasValidPGOCountsPGO (
2929

3030
`pRetVal`
3131

32-
[out] Returns `TRUE` if this function has valid profile-guided optimization counts from a training scenario; otheriwse, `FALSE`.
32+
[out] Returns `TRUE` if this function has valid profile-guided optimization counts from a training scenario; otherwise, `FALSE`.
3333

3434
## Return Value
3535

0 commit comments

Comments
 (0)