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

Bug 368406

Summary: Delete a disabled breakpoint results in an annotation in the source gutter
Product: [Tools] TCF Reporter: Scott Tepavich <scott.tepavich>
Component: DebugAssignee: Project Inbox <tcf.debug-inbox>
Status: NEW --- QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug, scott.tepavich
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Webex of reproduced issue. none

Description Scott Tepavich CLA 2012-01-11 23:32:26 EST
When performing the following steps:

1.) Connect to a TCF agent.
2.) Set a compilation unit breakpoint at a line of source in an application.
3.) In the BP view, disable the breakpoint.
4.) Right after the disable, delete the breakpoint.

At this point an annotation is left in the source view gutter, at the line where the compilation unit BP had been.

This was found with a p4080 running hypervisor.  It was also timing related.  If I waited a few seconds between commands, the problem was as reproducable (although it can be reproduced after enough tries).  I can reproduce the problem every time if I follow the steps as above.
Comment 1 Eugene Tarassov CLA 2012-01-12 13:45:52 EST
I cannot reproduce. How does the annotation look like? Could attach a screenshot?
Comment 2 Scott Tepavich CLA 2012-01-12 16:55:22 EST
Created attachment 209417 [details]
Webex of reproduced issue.
Comment 3 Scott Tepavich CLA 2012-01-12 16:55:58 EST
I've added a quick webex of the issue.
Comment 4 Eugene Tarassov CLA 2012-01-13 15:10:16 EST
I still cannot reproduce.

In TCF Trace in the video, it looks like the breakpoint is not actually removed from the target. So the annotation itself is probably correct - the breakpoint is still planted. But I don't understand why it is not removed. Are you running an outdated code? Do you see any exceptions in Eclipse error log? Is there another connection to the same target?