Game Development Community

Debug console startup

by Christopher Lohman · in Torque Game Engine · 05/30/2002 (6:33 pm) · 2 replies

A particular user of mine is launching our game which is compiled in the default console mode. When he launches, the console appears with a blinking cursor, and nothing else happens.

I'm posting here hoping someone might have some advice on troubleshooting this. He attempted to launch from a prompt but was told it wouldn't run in DOS mode.

Is there anything built into the TGE that will dump a log during the application launch? I know there's a logging console command but it's failing before we can get to the console.

Any pearls of wisdom on how to debug startup problems?

I'm not asking for assistance with this specific issue, but in troubleshooting application launch issues in general.

Thank You


(I apologize if I posted to the wrong forum. I couldn't determine where this post would be most appropriate.)

#1
05/30/2002 (10:09 pm)
It has to write *something*...
try to write the example/console.log file by putting
setlogmode(1);
in fps/main.cs (I put it in onStart() before the initServer() command...).
I think you can also set this switch in the command line with torqueDemo.exe -console -log...
#2
05/31/2002 (9:13 am)
Thanks Stefan. From your -console suggestion I figured out -console -help and then found the Journal.

So if anyone else is trying to debug console startup, you may have to recompile with logging enabled, but recording a Journal then debugging it might help as well.

The user has yet to respond so we'll see if the Journal helps at all.