Sonntag, 16. Dezember 2007

How to debug variables and conditions in IzPack



From IzPack 3.11 on, there's a built-in debugger for variables and conditions. The debugger is activated when the installer is called with -DTRACE=true as JVM option.




Ex.1:


java -DTRACE=true -jar myInstaller.jar




The debugger shows up as a panel in the east of the InstallerFrame or if the guiModifier showDebugWindow is set to true, it will show up as seperate window.




Ex.2:


<modifier value="true" key="showDebugWindow">








2 Kommentare:

Anonym hat gesagt…

Thanks for the work on IzPack.

Wonder, is it possible to debug deeper into the conditions (eg debug levels)? Currently I have several problems with <condition type="or"> objects and I would like to see the results for the subconditions.

Dennis Reil hat gesagt…

I think the value/state of operands of the or-conditions should also be shown.

Reach me via Live Messenger