locked
Debugging in VS 2010 with argv input parameters?

    Question

  • Hi!

    I have VS2010 express, Im trying to Debug a code that I usually run from command-line because this code requires input arguments (argv). How can I start debugging with input arguments?  

    Thank's a lot!

    YarYarYar

    Sunday, May 13, 2012 2:27 AM

Answers

  • Right-click over the project name, Properties, Configuration Properties, Debugging, and under Command Arguments enter the arguments as you would using the command line, but without specifying the name of the program executable.
    • Marked as answer by Yar78 Sunday, May 13, 2012 4:50 AM
    Sunday, May 13, 2012 3:32 AM

All replies

  • Right-click over the project name, Properties, Configuration Properties, Debugging, and under Command Arguments enter the arguments as you would using the command line, but without specifying the name of the program executable.
    • Marked as answer by Yar78 Sunday, May 13, 2012 4:50 AM
    Sunday, May 13, 2012 3:32 AM
  • Thanks!

    Good quick answer :)

    Sunday, May 13, 2012 4:52 AM