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

Bug 272077

Summary: [breakpoints] Poor cleanup of breakpoint marker when using multiple launches
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debug-dsf-gdbAssignee: Marc Khouzam <marc.khouzam>
Status: RESOLVED FIXED QA Contact: Marc Khouzam <marc.khouzam>
Severity: normal    
Priority: P3 CC: fchouinard, pawel.1.piech
Version: 6.0   
Target Milestone: 6.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 282925    

Description Marc Khouzam CLA 2009-04-13 16:02:10 EDT
I noticed that if you launch two different sessions of different programs one after the other, all breakpoints of Eclipse are sent to GDB both times.  This makes sense since we don't have a breakpoint to launch association.

So some breakpoints install properly in the first session, but fail in the second.  This means there are two markers in the editor, the successful one and the failed one.  CDI does the same.

However, when I terminate the second launch, we don't cleanup the failed marker (while CDI does cleanup properly.)  In fact, I was never able to get rid of the failed marker, besides restarting eclipse (even removing the breakpoint did not cleanup!)
Comment 1 Marc Khouzam CLA 2009-04-13 16:02:53 EDT
Adding Francois in CC, as he may be interested.
Comment 2 Marc Khouzam CLA 2009-07-10 13:57:10 EDT
Fixed by patch of bug 283156