PDA

View Full Version : Debug logging?



drahkar
September 7th, 2010, 13:30
I'm trying to deal with something that is causing the FG2 client to crash. Is there any kind of debug logging I can turn on to help track down what is causing the crash?

Thanks!

Zeus
September 7th, 2010, 13:56
There's no trace capability that I'm aware of if thats what your after. You can however write your own debug routines and add them into the ruleset/extension your using/writing.

I use the console (/console command) and then use debug (using the print() function) routines in my LUA scripts to help try and identify problems when they occur. The print() function will output to the console window.

Moon Wizard
September 7th, 2010, 17:43
There are some functions I've written in the 4E ruleset (chatmanager.lua), which output a list of variables to either the chat window or the console log.

Just unpak the ruleset file, and take a look.

Cheers,
JPG