osx - LLDB - Exit on... exit? -
I currently want to fully automate my compile-run-debugging process for cocoa / purpose-projects I am writing a script.
My last line of code is:
lldb -f builder / MyApp.app -o "run" which actually opens the debugger, connects the process, and runs it.
However, when the app is released, the debugger is open, waiting for a command.
In addition to shutting it in any way, after the attached process is finished?
One way to do this will be to use Ajith binding, and the incidence of LDD Will listen for
If you run the following script, it is a lunch app in debug mode, and well if you close the app script:
Other ways might also work:
- Run the app,
- Get the screen of the running app,
- Start LDD and PID Attach to
- Monitor if the app is running and I do not have to kill l lbb.
Comments
Post a Comment