Debug Mode

4 views
Skip to first unread message

Sectorix

unread,
Feb 1, 2012, 8:14:10 AM2/1/12
to sc2repla...@googlegroups.com
there are 2 debug modes in SC2ReplayHandler in order to visualize better where the program has problems when they occur

up to version 1.17 there is a single debug mode ( on/off )
starting version 1.18 there is(will be) 2 debug modes which will be on/off + verbose/not verbose, which allows better understanding of subsystems work.

to turn on debug mode, add to settings.xml the following under <Configuration></Configuration>
you should add <Debug set="yes" /> for a version 1.17 or older
you should add <Debug set="yes" verbose="yes" /> for a version 1.18 or newer

the xml should look something like this ( with other entries as well ) :

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
  ..
  ..
  <Debug set=yes... />
</Configuration>

note that you can always turn off debug by changing set="no".

Sectorix

unread,
Feb 3, 2012, 8:41:44 AM2/3/12
to sc2repla...@googlegroups.com
in version 1.18 you may also add a tag for logfile to write the logfile into a custom location.

for example : <Debug set="yes" verbose="yes" logfile="c:\log.txt" />
Reply all
Reply to author
Forward
0 new messages