How to set conditional breakpoint in lldb, I mean, reliably?
I'm using lldb in terminal, thanks to apple's dropping support to gdb... And the thing is, I am no longer able to use conditional breakpoint reliably now... I'm using a command
breakpoint set -f somefile -l someline -c '(some condition)'and then hit r to run my program. And then it says the process is running and then prompt back to
(lldb)And more annoying thing is, my program is still running somehow, and lldb stopped respond to my command correctly. When I type
breakpoint list, it respond invalid command reakpoin.Do you guys know what happened? Is it lldb very buggy or did I do something wrong? How to set a conditional breakpoint reliably?
MacBook Air (13-inch, Mid 2012), OS X Mountain Lion (10.8.2)