How to debug
Posted: Sun Oct 13, 2013 1:54 pm
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
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