Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348632 - [EDC] "Breakpoint condition not resolved" problem marker stays even after the breakpoint is removed
Summary: [EDC] "Breakpoint condition not resolved" problem marker stays even after the...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 15:23 EDT by Ling Wang CLA
Modified: 2012-05-22 20:22 EDT (History)
1 user (show)

See Also:


Attachments
My fix patch. (5.96 KB, patch)
2011-06-08 18:37 EDT, Ling Wang CLA
cdtdoug: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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