That hasn't been exported to the SB layer yet. All the clients we've had so far want to manage the breakpoint hits themselves so they add breakpoint callbacks (from C++) and then dispatch the commands by hand. You can add a Python breakpoint callback function, you might be able to use that to run the commands. Otherwise is shouldn't be hard to expose this functionality to the SB API's. Either file a bug or if you feel inclined to fix it yourself that would be even better (and maybe faster!)
Jim > On May 9, 2015, at 9:00 AM, John Sturgeon <john.sturg...@me.com> wrote: > > I am writing a python plugin to save/restore breakpoints. I can’t seem to > find a way to add debugger commands to a breakpoint. > > Say I have a breakpoint with the two commands: > po self > continue > > And I want to create a new breakpoint with the same commands, SBBreakpoint > does not seem to have that facility. > > Any help would be appreciated. > _______________________________________________ > lldb-dev mailing list > lldb-dev@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev