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.
Summary: | auto-switching between debug sessions does not work correctly | ||
---|---|---|---|
Product: | debugger | Reporter: | Lukas Jungmann <jungi> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jkovalsky, jskrivanek |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 83055 | ||
Bug Blocks: | |||
Attachments: |
promised patch
sample project for testing screenshot of 2 debug sessions when ${name} should be active simpler apps for reproduction... The patch that fixes this issue. |
Description
Lukas Jungmann
2006-08-20 02:09:38 UTC
Created attachment 33094 [details]
promised patch
Created attachment 33095 [details]
sample project for testing
Created attachment 33096 [details]
screenshot of 2 debug sessions when ${name} should be active
Another, simpler, use case -have EJB module -have Java SE client for it see next sample... Created attachment 33155 [details]
simpler apps for reproduction...
After discussion w/ Libor and Martin we agreed on increasing the priority to P2 as multi-session debugging is one of the important features in debugger. It would be great to have the fix also in release55 branch. Thanks. The current session is really set only when the a breakpoint is hit. It needs to be set also when a step is finished. Fixed in trunk. It will be ported to release 5.5 after the review process. /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v <-- JPDADebuggerImpl.java new revision: 1.107; previous revision: 1.106 /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDAStepImpl.java,v <-- JPDAStepImpl.java new revision: 1.4; previous revision: 1.3 /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepActionProvider.java,v <-- StepActionProvider.java new revision: 1.32; previous revision: 1.31 /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepIntoActionProvider.java,v <-- StepIntoActionProvider.java new revision: 1.29; previous revision: 1.28 Created attachment 33366 [details]
The patch that fixes this issue.
The fix is ported into release55 branch: /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v <-- JPDADebuggerImpl.java new revision: 1.81.4.3.2.4; previous revision: 1.81.4.3.2.3 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDAStepImpl.java,v <-- JPDAStepImpl.java new revision: 1.1.30.2; previous revision: 1.1.30.1 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepActionProvider.java,v <-- StepActionProvider.java new revision: 1.22.4.2.2.2; previous revision: 1.22.4.2.2.1 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepIntoActionProvider.java,v <-- StepIntoActionProvider.java new revision: 1.19.4.2.2.2; previous revision: 1.19.4.2.2.1 v., thanks |