Skip to content

Commit 3eeb7ef

Browse files
Merge pull request #10465 from MicrosoftDocs/main638660822298692108sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 1ef62fd + b366e2e commit 3eeb7ef

File tree

4 files changed

+94
-34
lines changed

4 files changed

+94
-34
lines changed

docs/debugger/project-settings-for-a-cpp-debug-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ You can change the project settings for a C or C++ debug configuration in the **
128128
| **Debugger to launch** | Specifies the debugger to run, with the following choices:<br /><br /> - **Local Windows Debugger**<br />- **Remote Windows Debugger**<br />- **Web Browser Debugger**<br />- **Web Service Debugger** |
129129
| **Command** (Local Windows Debugger) | Specifies the command for starting the program that you're debugging on the local computer. |
130130
| **Remote Command** (Remote Windows Debugger) | The path for the .exe on the remote computer. Enter the path just as you would enter it on the remote machine. |
131-
| **Command Arguments** (Local Windows Debugger)<br /><br /> **Remote Command Arguments** (Remote Windows Debugger) | - Specifies arguments for the program you're debugging. For more information about ways to set command line args, see [Specify command-line arguments](specify-command-line-arguments.md).<br /><br /> You can use the following redirection operators in this box:<br /><br /> < `file`<br /> Reads stdin from file.<br /><br /> > `file`<br /> Writes stdout to file.<br /><br /> >> `file`<br /> Appends stdout to file.<br /><br /> 2> `file`<br /> Writes stderr to file.<br /><br /> 2>> `file`<br /> Appends stderr to file.<br /><br /> 2> &1<br /> Sends stderr (2) output to same location as stdout (1).<br /><br /> 1> &2<br /> Sends stdout (1) output to same location as stderr (2).<br /><br /> In most cases, these operators are applicable only to console applications. <br /><br />If you need to escape characters in the command, you can use ASCII values, such as %25 to replace %. If you use the **Start Debugging** command, double quotes escape the preceding commands, such as "<" to replace <.|
131+
| **Command Arguments** (Local Windows Debugger)<br /><br /> **Remote Command Arguments** (Remote Windows Debugger) | - Specifies arguments for the program you're debugging. For more information about ways to set command line args, see [Send command-line arguments to a debugee (C++)](specify-command-line-arguments.md).<br /><br /> You can use the following redirection operators in this box:<br /><br /> < `file`<br /> Reads stdin from file.<br /><br /> > `file`<br /> Writes stdout to file.<br /><br /> >> `file`<br /> Appends stdout to file.<br /><br /> 2> `file`<br /> Writes stderr to file.<br /><br /> 2>> `file`<br /> Appends stderr to file.<br /><br /> 2> &1<br /> Sends stderr (2) output to same location as stdout (1).<br /><br /> 1> &2<br /> Sends stdout (1) output to same location as stderr (2).<br /><br /> In most cases, these operators are applicable only to console applications. <br /><br />If you need to escape characters in the command, you can use ASCII values, such as %25 to replace %. If you use the **Start Debugging** command, double quotes escape the preceding commands, such as "<" to replace <.|
132132
| **Working Directory** | Specifies the working directory of the program being debugged, relative to the project directory where your EXE is located. If you leave this blank, the working directory is the project directory. For remote debugging, the project directory is on the remote server. |
133133
| **Attach** (Local Windows Debugger and Remote Windows Debugger) | Specifies whether to start or attach to the application. Default setting is No. |
134134
| **Remote Server Name** (Remote Windows Debugger) | Specifies the name of a computer (other than yours) on which you want to debug an application.<br /><br /> The RemoteMachine Build macro is set to the value of this property; for more information, see [Macros for build commands and properties](/cpp/build/reference/common-macros-for-build-commands-and-properties). |

docs/debugger/specify-command-line-arguments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Send command-line arguments while debugging (C++)"
2+
title: "Send command-line arguments to a debugee (C++)"
33
description: Learn how to send command-line argument to a debuggee using the new command line arguments dropdown.
44
ms.date: 10/30/2024
55
ms.topic: "conceptual"
@@ -13,7 +13,7 @@ ms.author: "TWhitney"
1313
manager: coxford
1414
ms.subservice: debug-diagnostics
1515
---
16-
# Pass command-line arguments while debugging (C++)
16+
# Send command-line arguments to a debugee (C++)
1717

1818
In Visual C++, use the command-line arguments dropdown to quickly specify or reuse arguments for debugging.
1919

0 commit comments

Comments
 (0)