This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3629-302-advanced-lldb-and-console-debugging
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3629-302-advanced-lldb-and-console-debugging
Hi, how can I set breakpoint in my c & cpp classes like you shown for Objc & swift classes in the project?
@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]
For c, if you know the full breakpoint name you can use just the “b” option like
(lldb) b setenv
Run the command help br set
to see the list of options for setting breakpoints. For c++ check out the -F
and -M
options