JBuilder 7: Why does the debugger pause for a long time when moving between breakpoints?

By: Christopher Moeller

Abstract: Explanation of issues related to Hotspot with certain versions of the JDK.

Question:

The debugger pauses for a long time when moving between breakpoints. Is there a way to workaround this issue?

 

Answer:

If you are using JDK 1.3.0, 1.3.0_01, and 1.3.0_02, debugging using the classic VM is much faster than debugging with HotSpot. If you see a noticeable slowdown in your program when you debug it, try adding the -classic option as the first VM parameter in your project (Project|Project Properties, Run tab, VM Parameters) before you debug. Note that JBuilder 7 will do this by default as appropriate for these JDKs.


Server Response from: ETNASC04