Created
June 22, 2018 14:37
-
-
Save samm-git/95ce3331b4949a3a61e64781fc20c5ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ trap -- '' SIGINT SIGTERM | |
+ export PATH=/bin:/usr/bin | |
+ PATH=/bin:/usr/bin | |
+ echo 'starting lldb with args: ' --attach-pid 1308 --batch --one-line 'thread list' --one-line 'thread backtrace all' --one-line 'bt all' --one-line-on-crash bt --one-line-on-crash quit | |
+ echo 'pid to debug is 1308' | |
+ echo 'lldb output from pid 1308 to /tmp/stdout, my pid is 1308' | |
+ /usr/bin/lldb --attach-pid 1308 --batch --one-line bt --one-line quit | |
+ echo '/tmp/stdout is' | |
/Users/builder/gtk/inst/bin/lldb: line 11: echo: write error: Broken pipe | |
+ cat /tmp/stdout | |
cat: stdout: Broken pipe | |
+ echo 'script done' | |
/Users/builder/gtk/inst/bin/lldb: line 14: echo: write error: Broken pipe | |
+ exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment