Community
Participate
Working Groups
Created attachment 81928 [details] Patch for BreakpointManager On MacOS, when CDT tries to add shared library breakpoints through the EventManager it fails to update the corresponding breakpoints in UI once it succeeds. Reason seems to be that BreakpointManager does not already have a list of breakpoints for the target. Please find a small patch attached that fixes the problem, though I am not sure whether this is the best solution for the problem. To reproduce the problem: Try to debug an executable that lazy loads a shared library due to some external event. On MacOS you could for example try to debug a Finder Context Menu. Setting breakpoints in the shared library will be displayer as not resolved, even if gdb is able to break.