Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
256
Reporter ?
outis
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 ?
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: