Bug 41931 - Breakpoint half-activates source file
Summary: Breakpoint half-activates source file
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 13:25 EDT by David Corbin CLA
Modified: 2005-05-10 14:56 EDT (History)
1 user (show)

See Also:


Attachments
WorkbenchPage patch (672 bytes, patch)
2003-08-28 11:30 EDT, Douglas Pollock CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Corbin CLA 2003-08-25 13:25:07 EDT
Normally, pressing CTRL-F6 once and releasing immediately will take you back to
the "last file" (B). Repeatedly doing this oscillates you back and forth between
two source files (A & B).

If a the A is currently active, and B is the last one before that, when a
breakpoint in B is hit, pressing CTRL-F6 does not take me to A, as I would expect.
Comment 1 Douglas Pollock CLA 2003-08-28 11:30:57 EDT
Created attachment 5896 [details]
WorkbenchPage patch

Modifies WorkbenchPage to update activationList when it receives a bringToTop. 
Previously, the debug code would go along the openEditor-bringToTop code path,
which does not update the activationList.  Meanwhile clicking on an editor
would go through setActivePart, which does update activationList.
Comment 2 Douglas Pollock CLA 2003-08-28 11:32:16 EDT
Tod: Could you review this patch and commit if it looks good.  WorkbenchPage is
a bit confusing to me at the moment, and I'm not sure this is the "best"
solution.  Thanks.
Comment 3 Tod Creasey CLA 2003-09-05 10:46:29 EDT
Patch released for build >20030905
Comment 4 Stefan Xenos CLA 2004-09-09 15:51:27 EDT
This patch will probably need to be rolled back and replaced with a different
solution. See bug 73500.
Comment 5 Tod Creasey CLA 2005-05-10 14:56:32 EDT
Marking closed