Listing Display
Bug Id ?
256
Reporter ?
outis
Product/Version ?
MacGDBp / 1.5
Status ?
Closed
Severity ?
Minor
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Breakpoints aren't displayed when file is opened via "+" (add breakpoint) button in Breakpoints window.
Report Time ?
June 22, 2019 08:29 PM
Assignment ?
Robert
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

June 22, 2019 08:29 PM outis
When you click the "+" button in the Breakpoints window to open a file so as to add a breakpoint, the existing breakpoints for the file aren't displayed after the file is loaded.

This has another consequence: if you click on the line number for an existing breakpoint (which isn't displayed), thinking there isn't a breakpoint there, the breakpoint will get removed.

The cause is that `BreakpointController-addBreakpoint:` sets the file for the `BSSourceView`, but doesn't then load the markers for the file. By contrast, if the file is loaded by clicking on a breakpoint in the NSTableView listing breakpoints, `BreakpointController-tableViewSelectionDidChange:` both sets the file and loads the markers.

September 11, 2019 04:38 AM Robert
Resolved via the re-design for 2.0.

On September 11, 2019 04:38 AM, Robert changed: