views:

76

answers:

0

I have a Java project which I am debugging in NetBeans (versions 6.8 and 6.9) and I am unable to step into or step over the code. I can only set breakpoints and then continue to the breakpoints. This is not very convenient. I'd like to be able to step through the code without setting breakpoints everywhere and running to them. I am attaching to the JVM because it cannot be started in NetBeans (it is started by a C program via JNI). Is there an issue related to attaching to a JVM?

If I do happen to try and step into/over a line of code, the debugger hangs (pause button is disabled) and the only option is to detach/end the debug session.