Get debug info from exe?

BlitzMax Forums/BlitzMax Programming/Get debug info from exe?

Who was John Galt?(Posted 2007) [#1]
Is there any way to get an error message back from a blitz exe, without building and running it from the IDE?


Brucey(Posted 2007) [#2]
What kind of error message?
You mean debug info like what DebugLog outputs?

Sure, launch the "debug" exe from the command line and watch the debuglog output to the console.


Who was John Galt?(Posted 2007) [#3]
Well it's crashing, probably because it's missing some media. It sounds obvious, but I never even considered launching the exe from a command line. Cheers, Brucey.


Gabriel(Posted 2007) [#4]
I think you could also run it as a process with Pub.FreeProcess. I believe that process will have some TPipeStream fields, where you should be able to retrieve everything which would have been on the debuglog.