GDB backtrace with long function names -
i doing debugging of application uses boost::spirit. means backtraces deep , many of intermediate layers have function names take several pages print. length of function names makes examining backtrace difficult. how can have gdb limit length of function name 1 or 2 lines? i'd still see full path file , line number, don't need 4 pages of template parameters!
i don't think can done directly right now. think reasonable feature.
however, can write own implementation of "bt" in python , apply whatever transforms like. isn't hard.
Comments
Post a Comment