digitalmars.D.ide - Command Line Arguments for Debug
- Lobachevsky (21/21) Aug 05 2016 Is there a way to specify command line arguments when debugging
- Rainer Schuetze (3/22) Aug 05 2016 You can set the "Command arguments" for debugging on the "Configuration
Is there a way to specify command line arguments when debugging from Visual D? That is, what would eventually run as myApplication.exe -v220 -hz50 but where -v220 -hz50 are supplied to the executable when I press (Debug) Start. I found something which looked promising under Debug - Application Properties - Command Line (second to last item in list box) - Additional options. However, the text entered here is used for the build and will unsurprisingly produce the following error: ------ Build started: Project: Application, Configuration: Debug Win32 ------ Building Debug\myApplication.exe... Error: unrecognized switch '-v220' Error: unrecognized switch '-hz50' Building Debug\myApplication.exe failed! properties, under Debug, you can enter command line arguments, then run the app with F5. The debugger will be attached automatically.
Aug 05 2016
On 05.08.2016 17:12, Lobachevsky wrote:Is there a way to specify command line arguments when debugging from Visual D? That is, what would eventually run as myApplication.exe -v220 -hz50 but where -v220 -hz50 are supplied to the executable when I press (Debug) Start. I found something which looked promising under Debug - Application Properties - Command Line (second to last item in list box) - Additional options. However, the text entered here is used for the build and will unsurprisingly produce the following error: ------ Build started: Project: Application, Configuration: Debug Win32 ------ Building Debug\myApplication.exe... Error: unrecognized switch '-v220' Error: unrecognized switch '-hz50' Building Debug\myApplication.exe failed!under Debug, you can enter command line arguments, then run the app with F5. The debugger will be attached automatically.You can set the "Command arguments" for debugging on the "Configuration Properties->Debugging" page.
Aug 05 2016