Catching async debugger output


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?


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.