[lldb-dev] Async mode and listeners

snare snare at ho.ax
Sat Jul 19 22:15:12 PDT 2014


Thanks for the help, Greg. I’ll investigate that option as well. That could do what I need.

On 20 Jul 2014, at 5:14 am, Greg Clayton <gclayton at apple.com> wrote:

> If you want the event handler to work for you and you don't mind the async output to stdout/err at any moment, then you can currently use the built in event loop, but just the event loop isn't exported as an option you can run in a separate thread. You can add an API to SBDebugger that is something like:
> 
> bool
> SBDebugger::SpawnEventHandlingThread();
> 
> And then run that. Is that what you were looking for? That would be a viable API to vend through SBDebugger.





More information about the lldb-dev mailing list