How to hide type info in gdb pins

I am debugging heavy boilerplate code and looking for a way to hide type information in backtrace and when printing variables. It would be even better if you could only hide the template arguments, since they are very difficult to read backtracking.

Thanks for your support.

+4
source share
1 answer

The best way is to use gdb plugins. I do not know what the native setting in gdb is (except frame filters), which can achieve the desired results.

https://github.com/tromey/gdb-helpers, https://github.com/philtweir/gdb-pretty-frame-cpp. gdb-pretty-frame .

+2

Source: https://habr.com/ru/post/1669180/


All Articles