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

Bug 348632

Summary: [EDC] "Breakpoint condition not resolved" problem marker stays even after the breakpoint is removed
Product: [Tools] CDT Reporter: Ling Wang <ling.5.wang>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
My fix patch. cdtdoug: iplog-

Description Ling Wang CLA 2011-06-07 15:23:32 EDT
With an EDC debugger,e.g. the EDC Windows debugger, 
1. Set an invalid condition (e.g. "gargage") for a breakpoint.
2. During debug, when that breakpoint is hit, a triangular warning sign (known as a "problem marker" internally) appears over the breakpoint dot saying "Breakpoint condition failed to resolve to boolean...". That's fine.
3. Now remove the breakpoint. The warning sign just stays there while it should disappear. 
4. Or without removing the breakpoint, just quit debugger, the warning sign should disappear too but it does not.
Comment 1 Ling Wang CLA 2011-06-08 18:37:08 EDT
Created attachment 197656 [details]
My fix patch.
Comment 2 Ling Wang CLA 2011-06-08 18:37:47 EDT
Fixed and committed on 06/08/11.
Comment 3 CDT Genie CLA 2011-06-08 19:23:19 EDT
*** cdt cvs genie on behalf of lwang ***
Bug 348632: [EDC] Make sure a breakpoint problem marker is removed when it should be.

[*] Breakpoints.java 1.29 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/edc/org.eclipse.cdt.debug.edc/src/org/eclipse/cdt/debug/edc/internal/services/dsf/Breakpoints.java?root=Tools_Project&r1=1.28&r2=1.29