Get debug info from exe?
BlitzMax Forums/BlitzMax Programming/Get debug info from exe?
| ||
Is there any way to get an error message back from a blitz exe, without building and running it from the IDE? |
| ||
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. |
| ||
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. |
| ||
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. |