Prevent stepping through a library

Answered

Hi,

I am debugging some C++ code that use some containers implemented with header files (think of a custom std::vector<T>). Stepping through the code using those containers is painful as you step through accesors (p[k]), copy and move constructors, size() functions which you don't want to debug at all most of the times.

Is there a way to tell CLion-gdb or Clion-lldb (better if you have a solution for both), not to step to some functions/files? 

Best regards,

François

0
1 comment

Unfortunately it can’t be done in the CLion’s interface. But you can do it from the console: instruction for GDB and tip for LLDB.

We have the issue about this feature in our tracker. Please feel free to comment and upvote!

0

Please sign in to leave a comment.