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

Bug 327114

Summary: Need to distinguish successfully and unsuccessfully set breakpoints.
Product: [Tools] PTP Reporter: Xuan Chen <xuanchen>
Component: Debug UIAssignee: Project Inbox <ptp-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: g.watson
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xuan Chen CLA 2010-10-06 10:50:36 EDT
If I set a breakpoint on a blank line, SDM sends back EVENT_DBG_ERROR.  But this breakpoint is still shown in the prefix area of the editor, and there is no difference between this unsuccessfully set breakpoint and a successfully set breakpoint.  It could be very confusing to the user.
We need a decorator to the breakpoint marker to make the distinction.
Comment 1 Greg Watson CLA 2010-11-01 12:41:45 EDT
I'm unable to reproduced this. When I set a breakpoint on a blank line, the breakpoint is set on that line. When resuming the program, the target may suspend at a different line than expected. This is the expected behavior and is consistent with how gdb handles breakpoints.

Can you set a breakpoint manually using gdb and provide the output (error message, etc)?