[lldb-dev] Can't debug "hello, world" with stock lldb from XCode 5?

Dan Kegel dank at kegel.com
Wed Jan 29 13:43:16 PST 2014


Hi!
I just installed a fresh copy of Mac OS X 10.9, and on that, XCode 5.
Alas, it doesn't seem to be able to debug a trivial C program:

$ lldb --version
lldb-300.2.53
$ gcc -g hello.c
$ lldb ./a.out
2014-01-29 13:42:20.095 lldb[273:262f] Metadata.framework [Error]:
couldn't get the client port
Current executable set to './a.out' (x86_64).
(lldb) run
Process 3511 launched: './a.out' (x86_64)
error: initial process state wasn't stopped: exited

Can I buy a clue?

Thanks!



More information about the lldb-dev mailing list