| Summary: | New editor page is opened when breakpoint is reached while debugging the file though the reuse editor flag is set in window preferences | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Usha <usha_thulasiram> | ||||
| Component: | Debug | Assignee: | JDT-Text-Inbox <jdt-text-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, remy.suen | ||||
| Version: | 3.4.2 | Keywords: | needinfo | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Usha
>Our editor is extending the CompilationUnitEditor class. This is not allowed since it is not API. But I doubt this has anything to do with the bug. >and we have set the reuse editor flag in window preferences. Which one exactly? Via UI or via code? >Reproducible: Sometimes Please provide more detailed steps. >Which one exactly? Via UI or via code? via UI-> Window->preferences Run/Debug >Please provide more detailed steps. 1.Open the file from the project 2.Run the file in the debug mode 3.when the breakpoint is reached new page will be opened 4.Close the old page and stop debugging 5.Again run the file in the debug mode. 6.This time when the breakpoint is reached new page willnot opened >1.Open the file from the project What kind of file? With which editor? >3.when the breakpoint is reached new page will be opened Withe new "page" do you mean a second editor? If so, is it the same editor kind? Not knowing more about your editor(s) and scenario, I can only shoot in the dark: fix for bug 203640 might be related. (In reply to comment #3) > >1.Open the file from the project > What kind of file? With which editor? > Test script and script editor extends CompilationUnitEditor. > >3.when the breakpoint is reached new page will be opened > Withe new "page" do you mean a second editor? If so, is it the same editor > kind? though the script which i want to debug is already open and i have checked the reuse editor in windows/prefereces it is opening the script in another tab when the breakpoint is hit. Created attachment 176007 [details]
Debug view
I looked at the picture. Are you sure that the two editors are the same kind? I am not able to reproduce the problem while debugging Java code i.e. with Compilation Unit editors. Are you? This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |