Thread: Debug extension
-
February 25th, 2011, 00:18 #1
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
Debug extension
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,
JPGLast edited by Moon Wizard; May 24th, 2011 at 06:56.
-
March 29th, 2011, 17:52 #2
-
May 24th, 2011, 06:56 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
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
-
June 3rd, 2011, 15:48 #4
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks