Similar to this question: How can I avoid debugging into Boost source code in Visual Studio?
But how can I do it in Xcode?
Thanks, Jim
The key is the lldb setting target.process.thread.step-avoid-regexp
. On my Mac, this had the default value ^std::
. You might want to check it on your setup by entering lldb and typing settings show target.process.thread.step-avoid-regexp
. Anyway, what you can do is edit ~/.lldbinit, creating it if it does not yet exist, and add a line like
settings set target.process.thread.step-avoid-regexp ^(std::|boost::shared_ptr)
This keeps the previous behavior of not stepping into std:: stuff, and also does not step into shared_ptr.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With