Debugging a Console Application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need some help debugging a console application that requires command line parameters. Normally I start a console application with Ctrl+F5. But this one requires a parameter when started

How do I pass the parameter when I start the program in Visual Studio

Thanks

Spike
 
Project properties

Spike_TJ said:
I need some help debugging a console application that requires command
line parameters. Normally I start a console application with Ctrl+F5. But
this one requires a parameter when started.
 
Project->Properties->Configuration Properties->Command Line Arguments.

Remember that to *debug* your app you need to start it with F5 (Ctrl+F5
means "start *without* debugging).

Spike_TJ said:
I need some help debugging a console application that requires command
line parameters. Normally I start a console application with Ctrl+F5. But
this one requires a parameter when started.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top