Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Editor Reuse and the Debugger


The debugger is looking for advice on how it can/should reuse editors as users debug a program.

In Eclipse 1.0, the debugger had its own editor reuse mechanism. The debugger kept track of which editor it had opened, and reused that editor as the user stepped from source file to source file. If the user changed the contents of an editor, the debugger would open a new editor (to avoid prompting for saving changes). This way the debugger reduced editor pollution caused by stepping/browsing many source files related to the program under debug.

In Eclipse 2.0, the debugger threw out its custom solution, and migrated to use the worbench editor reuse threshold. This solution also worked well (and simplified the debugger's job). However, this support has been deprecated.

We are looking for advice:
(1) Should we fall back to the custom editor reuse policy?
(2) Is there some support that we can leverage from the workbench?

Thanks,

Darin

Back to the top