Bug 368406 - Delete a disabled breakpoint results in an annotation in the source gutter
Summary: Delete a disabled breakpoint results in an annotation in the source gutter
Status: NEW
Alias: None
Product: TCF
Classification: Tools
Component: Debug (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-11 23:32 EST by Scott Tepavich CLA
Modified: 2012-01-13 15:10 EST (History)
2 users (show)

See Also:


Attachments
Webex of reproduced issue. (585.45 KB, application/octet-stream)
2012-01-12 16:55 EST, Scott Tepavich CLA
no flags Details

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