Skip to content

Commit 573b26e

Browse files
authored
Merge pull request #3264 from esweet431/master
Add GDB Path option
2 parents 2875c3c + 5c98506 commit 573b26e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/linux/deploy-run-and-debug-your-linux-project.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,15 @@ There are several ways to interact with and debug your Linux project.
8686
## Configure other debugging options (MSBuild projects)
8787

8888
- Command-line arguments can be passed to the executable using the **Program Arguments** item in the project's **Debugging** property page.
89-
- You can export the `DISPLAY` environment variable by using the **Pre-Launch Command** in the project's**Debugging** property pages. For example: `export DISPLAY=:0.0`
89+
- You can export the `DISPLAY` environment variable by using the **Pre-Launch Command** in the project's **Debugging** property pages. For example: `export DISPLAY=:0.0`
9090

9191
![Program Arguments](media/settings_programarguments.png)
9292

9393
- Specific debugger options can be passed to GDB using the **Additional Debugger Commands** entry. For example, you might want to ignore SIGILL (illegal instruction) signals. You could use the **handle** command to achieve this by adding the following to the **Additional Debugger Commands** entry as shown above:
9494

9595
`handle SIGILL nostop noprint`
96+
97+
- You can specify the path to the GDB used by Visual Studio using the **GDB Path** item in the project's **Debugging** property page. This property is available in Visual Studio 2019 version 16.9 and later.
9698

9799
## Debug with Attach to Process
98100

docs/linux/prop-pages/debugging-linux.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Debugger Properties (Linux C++)| Microsoft Docs"
3+
description: "Describes the Microsoft Visual Studio Linux C++ debugger properties"
34
ms.date: "06/07/2019"
45
ms.assetid: 0c1c0fcc-a49b-451c-a5cb-ce9711fac064
56
---
@@ -29,5 +30,6 @@ Linux support is available in Visual Studio 2017 and later.
2930
| Enable Python Pretty Printing | Enable pretty printing of expression values. Only supported in gdb debugging mode. |
3031
| Visualization File | Default native visualization file (.natvis) containing visualization directives for SLT types. Other .natvis files that belong to the current solution are loaded automatically. |
3132
| Additional Sources File Path Map | Additional path equivalences for the debugger to use to map Windows source file names to Linux source file names. The format is "\<windows-path>=\<linux-path>;...". A source file name found under the Windows path is referenced as if it's found in the same relative position under the Linux path. Files found in the local project don't require additional mapping. |
33+
| GDB Path | **Visual Studio 2019 version 16.9**: Specifies the path to the GDB executable to be used by Visual Studio. |
3234

3335
::: moniker-end

0 commit comments

Comments
 (0)