Author Topic: How to debug a console application which is loaded by the command prompt  (Read 2624 times)

gabrielksa

  • Guest
Hi!

I'm a newbie, and I'm trying to debug an application which is loaded by the command prompt, that passes the input information to the program, such as the intput/output file names. I've read some topics about setting the program's arguments, but I don't know how whether the solution is there, and nor even how to set it for my case.

For example, to load the application, I have to run the command prompt and type in the application directory:   epanet2d   input.inp   report.rpt    output.out.


Might anyone help me?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to debug a console application which is loaded by the command prompt
« Reply #1 on: November 08, 2010, 02:38:58 pm »
yes you can...

Project -> Set program's arguments -> choose your target and enter the arguments " - input.inp   report.rpt    output.out"
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]