Log in

View Full Version : Debug extension



Moon Wizard
February 25th, 2011, 00:18
UPDATE: Debug.ext is now available on the Downloads page under Utilities.

Hey all,

Here is a Debug extension that I built while I am debugging my rulesets.

Once you add the extension, just insert one of these 2 calls into your ruleset code to inspect the contents of variables.

Debug.chat(...)
Debug.console(...)

Any parameters to these 2 functions will output to the chat window or console window, respectively. I usually use the chat window output myself, unless I need to debug something on initial ruleset load or shutdown. The console messages also get saved to the console.log file.

Cheers,
JPG

psicodelix
March 29th, 2011, 17:52
Nice! thank you!

Moon Wizard
May 24th, 2011, 06:56
I've posted an updated debug extension on the Downloads page under utilities. If I update, I'll post a note in the workshop forum.

Regards,
JPG

psicodelix
June 3rd, 2011, 15:48
ok, thank you.