How to not enter shared_ptr in xcode

Similar to this question: How to avoid debugging in Boost source code in Visual Studio?

But how can I do this in Xcode?

Thanks Jim

+6
source share
1 answer

The key is to configure lldb target.process.thread.step-avoid-regexp . On my Mac, this is the default ^std:: . You can test it on your installation by entering lldb and typing settings show target.process.thread.step-avoid-regexp . Anyway, you can do the editing ~ / .lldbinit by creating it if it does not already exist, and add a line like

 settings set target.process.thread.step-avoid-regexp ^(std::|boost::shared_ptr) 

This preserves the previous behavior without entering std :: stuff, and also does not go into shared_ptr.

+12
source

All Articles