This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi! There is a problem with debugging core java classes (e.g. java.util.Vector). If you set an breakpoint in, say Vector.get(...), the debugger stops at that position. Now, it is not possible to use the various step commands (step in, step out, next...).
Do you have JDK sources available for debugging? See Main menu-Windows-Debugging-Source tab, and check JDK sources there.
well, ok, that solved part of the problem: a reference to the sources is in that list, but it was not 'enabled' (use for debugging). After i enabled it, debugging worked. But: if the sources are not enabled for debugging, the debugger shouldn't stop at breakpoints in that scope. Anyway, i think JDK sources should be enabled by default. What do you think? Bug #51901 may be the same problem...
No chance to fix it in 4.1.
IMHO either the JDK sources should be enabled as soon as there is a breakpoint hit in JDK sources, or at least, it should be suggested to the user to enable the JDK sources.
This is a source of user confusion and needs to be fixed. Scheduling for 5.1.
Obsolete milestone, please reevaluate
using nb60beta1: behaviour slightly changed: debugger ignores active breakpoints in 'disabled' sources. This is still not optimal. If the user is able to set a breakpoint, he expect it to work.
This is fully fixed in NB 6.8. Breakpoints and stepping in JDK sources are enabled by default.
verified closed