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.
Make sure you have a build with fix for issue 218216. Now: - set a breakpoint in the source code - run project and breakpoint is hit; continue - test project and breakpoint is hit; continue so far everything is good - now if I run project again I can (sometimes?) see that green current line is painted in the editor but I cannot do anything (step over/into; continue) because wrong debugging session is active. If this does not happen to you on first occasion just keep repeating Run followed by Test. I would think that if one session gets paused while active session is running then debugged activates automatically the paused session. Or gives user some clue about it. I'm marking this as P2 because it is hard to understand for user what's happening and why nothing is running nor debugging.
Workaround: open "Sessions" view from Window->Debugging and activate right session manually.
For cases like this, it would be good to open the Sessions view automatically, as suggested in issue #133705 IMHO. Java debugger sets the current session to itself when it gets suspended, JavaScript debugger should do the same.
Should be fixed by changeset: 233645:dcda4ae65e6d http://hg.netbeans.org/web-main/rev/dcda4ae65e6d
Integrated into 'main-golden', will be available in build *201209200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/dcda4ae65e6d User: mentlicher@netbeans.org Log: #218254: Set the current session when the debugger gets paused.