Page 1 of 1

How to debug

Posted: Sun Oct 13, 2013 1:54 pm
by theme
I don't know the internal workings of the SDK, but the readme file claims that setting the "native" option will enable setting breakpoints, but it doesn't work for me. How to do it?

Note: every time I run the simulator, it shows a warning: (*xxx* is substituted for some stuff)

*the directory of the SDK*>java -cp "lib\hackengine.jar;lib\hackjvm.jar" org.hack
er.worm.WormChooser -cp "lib\rt.jar"
*Date and time in native format* java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(...) returned error code 5.

Note 2: OS is windows 7

Never mind

Posted: Mon Oct 14, 2013 3:10 pm
by theme
Never mind, I've managed to get it to debug properly by running "RunSimulator.java" in eclipse