I’m trying to debug passing command line arguments passed while launching a built Windows desktop application, which I’m running via the CMD command line.
My command line parsing works great when running a DEBUG version in the IDE, and the built .exe does launch via the CMD command line, but I need to get any kind of debugging output listed on-screen so I can see what’s going on (my .exe crashes with no error messages before the UI is displayed).
Any way to get system.debuglog to work when running a built .exe from the Windows command line?
I actually DID read that page at least a half dozen times. But this sentence threw me:
On Windows, it logs to the debugger, so programs like DebugView can be used to view the string.
“It logs to the debugger” made it seem it was referring to Xojo’s debugger in the Xojo IDE. So I thought, well, I’m running OUTSIDE the IDE — so that doesn’t apply.
I have obtained DebugView and it is exactly what I needed.