Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369588

Summary: Hitting a breakpoint in debug perspective duplicate the editor
Product: z_Archived Reporter: Alessio Pollero <alessio.pollero>
Component: WindowBuilderAssignee: Project Inbox <wb.core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: alessio.pollero, clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Alessio Pollero CLA 2012-01-24 15:08:42 EST
Build Identifier: Version: 3.7.1 Build id: M20110909-1335

When i put a breakpoint somewhere in the source view of WindowBuilder Editor, then when the breakpoint is hit in the debug view, another editor is created (standard Java Editor) so the file is open two times (one by WindowBuilder editor and another time in the JAva Editor) .

It seems that WindowBuilder editor it is not compatible with the debug mode ...

See a screenshot of the issue in the attachment.

Reproducible: Always
Comment 1 Alessio Pollero CLA 2012-01-24 15:09:31 EST
Created attachment 210004 [details]
Screenshot

The MainWindow source file is is opened twice ...
Comment 2 Eric Clayberg CLA 2012-01-24 16:19:15 EST
This is an known Eclipse issue and not something we can address on the WB side. The Eclipse Java Debugger is hard coded to open the standard Java Editor. The JDT debugger should recognize that an editor is already open on the file.