gdb 7.12
Hi,
This is just to point out a new cool feature in gdb 7.12 which might be very useful for CLion users and where CLion can add some nice features.
When debugging it is possible to mark which files to skip so that the debugger doesn't step through that code.
What is cool is that with 7.12 it is now possible to skip entire directories, which would make it very easy to skip for instance all std code. Or maybe boost.
This can be done by hand and not a big deal. I plan to do so whenever CLion will bundle with 7.12. But it could also be a nice new feature for CLion to add some sort of support.
It would also alleviate the pressure on the issue with the debugger going into assembly code for for instance smart pointers. I would like to have an option to not go into assembly unless I specifically want to. But if I can pick a feature, I'd prefer the support for excluding std and boost from debugging.
Both features will let me avoid the assembly I don't want to see (lib stuff) but the second feature will let me avoid stepping into the source code as well.
请先登录再写评论。