DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Development => Topic started by: DimDragon on March 16, 2010, 03:27:22 AM

Title: Capturing Debug Lines
Post by: DimDragon on March 16, 2010, 03:27:22 AM
Hello, I'm wondering is there a way to dump debug information shown on screen into file so I can parse it and analyze after that? I read that original version has a switch '-trigdebug=1' , but have no idea what is the result of that and does it dump it to disk ? Any tip is appreciated, thx in advance.

Regards DimDragon

Title: Re: Capturing Debug Lines
Post by: vjeux on March 18, 2010, 04:04:48 AM
You can use the function TrigerDebugOutput (http://wiki.sc2mapster.com/sc2-api/functions/trigger-debug-output/) to display text in the trigger debug panel.

Then you can copy & paste what's inside that panel to store it. Not sure if there's any file output available.
Title: Re: Capturing Debug Lines
Post by: Astazha on March 18, 2010, 09:18:50 AM
Very cool.  How do you get the Debug Panel to come up?
Title: Re: Capturing Debug Lines
Post by: Zoxc on March 18, 2010, 02:53:15 PM
Using these (http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-launcher-plugin-pack/) you can print to files  :)