Advice on debugging C++ on Linux? [message #1835741] |
Fri, 11 December 2020 10:11 |
LouieBrown LouieBrown Messages: 2 Registered: December 2020 |
Junior Member |
|
|
I always use gdb for C/C++ programs. Unfortunately, latest features of C++ don't seem to fit well with gdb.
An example is a lambda function calling about 5 additional stack frames, and most STL stuff (std::unordered_map) seems to hide away its internals, so that it makes it hard for me to find each element's exact memory location or its values.
It has not been much of an issue till now, since I don't really like using these modern features anyways. But right now the company is making me debug another person's program, and these lambdas and STL containers are really killing me right now...
Any general advice? A better debugger perhaps? Or gdb with plugins?
|
|
|
Powered by
FUDForum. Page generated in 0.03845 seconds