Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Dec 15, 2019 6:44 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Console App on Windows
PostPosted: Wed Mar 23, 2011 10:19 am 
Offline

Joined: Fri Feb 29, 2008 5:25 pm
Posts: 557
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

_________________
http://www.mupromo.com/?ref=4850
Support Indie Developers and Buy Their Products!


Top
 Profile  
Reply with quote  
 Post subject: Re: Console App on Windows
PostPosted: Wed Mar 23, 2011 11:03 am 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
search the web for "dbgview.exe" or "windows debugview" writ your error logs to
system.debuglog( "error message" )

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: Console App on Windows
PostPosted: Wed Mar 23, 2011 1:04 pm 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
Location: Portland, OR USA
In the property pane for app is a section for Debugger which has an entry CommandLineArgs. You can set that before you press F5.


Top
 Profile  
Reply with quote  
 Post subject: Re: Console App on Windows
PostPosted: Wed Mar 23, 2011 2:11 pm 
Offline

Joined: Fri Feb 29, 2008 5:25 pm
Posts: 557
Ahh
thank you so much!

_________________
http://www.mupromo.com/?ref=4850
Support Indie Developers and Buy Their Products!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group