Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339198 - [breakpoints] Undo does not work after condition is saved in breakpoints view
Summary: [breakpoints] Undo does not work after condition is saved in breakpoints view
Status: CLOSED DUPLICATE of bug 334851
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 07:03 EST by Deepak Azad CLA
Modified: 2011-04-12 06:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Deepak Azad CLA 2011-03-08 07:03:40 EST
- Create a breakpoint
- Open breakpoints view
- Type a condition for this new breakpoint e.g. "false". (Do not save at this point)
- Ctrl+Z => Undo works, the condition goes away
- Ctrl+Y => Redo works, the condition comes back
- Save the condition now (Ctrl+s) => Caret jumps to offset 0 - Bad
- Ctrl+Z => Nothing happens - Bad!
Comment 1 Markus Keller CLA 2011-03-09 13:22:36 EST
Build is e.g. I20110308-2000.

> - Save the condition now (Ctrl+s) => Caret jumps to offset 0 - Bad
That already happened in 3.6.2 (but there was no Undo at all in 3.6.2).
Comment 2 Dani Megert CLA 2011-03-14 06:35:17 EDT
>- Save the condition now (Ctrl+s) => Caret jumps to offset 0 - Bad
>- Ctrl+Z => Nothing happens - Bad!
As you should know: one problem per bug please ;-)

>- Save the condition now (Ctrl+s) => Caret jumps to offset 0 - Bad
This is bug 334851 and happens each time you save (not related to Undo/Redo).
Comment 3 Dani Megert CLA 2011-04-12 06:11:17 EDT
This is also caused by bug 334851: the whole view is recreated and hence the undo state is reset as well.

*** This bug has been marked as a duplicate of bug 334851 ***