How to debug

Post Reply
theme
Posts: 3
Joined: Fri Aug 16, 2013 7:57 am

How to debug

Post 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
theme
Posts: 3
Joined: Fri Aug 16, 2013 7:57 am

Never mind

Post by theme »

Never mind, I've managed to get it to debug properly by running "RunSimulator.java" in eclipse
Post Reply