[lldb-dev] Catching async debugger output

Greg Clayton via lldb-dev lldb-dev at lists.llvm.org
Tue Jun 7 09:32:49 PDT 2016


No there is no way as this is async output that isn't tagged to any specific command.

My suggestion is to not use command line stop hooks and catch the stops in your python and do the stuff that you were doing with stop hooks by using the python API. 

Greg

> On Jun 6, 2016, at 7:05 PM, Vadim Chugunov via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> Hello,
> Is there a way for a python script to catch asynchronous debugger output, such as the output of stop hooks?  I've tried attaching a listener to CommandInterpreter's broadcaster, but no events seem to be ever fired.  Anything else I should try?
> 
> thanks!
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list