Real Software Forums
http://forums.realsoftware.com/

Console App on Windows
http://forums.realsoftware.com/viewtopic.php?f=6&t=38279
Page 1 of 1

Author:  shaggymac [ Wed Mar 23, 2011 10:19 am ]
Post subject:  Console App on Windows

I am writing a console app that takes in arguments. Pressing F5 works great but how can I debug and enter some arguments?

Currently I'm building then running the EXE.

If it crashes, then trying to figure out where it crashed. Debug would be helpful. (if possible)

Thanks

Author:  swort [ Wed Mar 23, 2011 11:03 am ]
Post subject:  Re: Console App on Windows

search the web for "dbgview.exe" or "windows debugview" writ your error logs to
system.debuglog( "error message" )

Author:  timhare [ Wed Mar 23, 2011 1:04 pm ]
Post subject:  Re: Console App on Windows

In the property pane for app is a section for Debugger which has an entry CommandLineArgs. You can set that before you press F5.

Author:  shaggymac [ Wed Mar 23, 2011 2:11 pm ]
Post subject:  Re: Console App on Windows

Ahh
thank you so much!

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/