Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Advice on debugging C++ on Linux
Advice on debugging C++ on Linux [message #1819066] Tue, 07 January 2020 01:47 Go to next message
Eclipse UserFriend
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?
Re: Advice on debugging C++ on Linux [message #1835910 is a reply to message #1819066] Wed, 16 December 2020 05:22 Go to previous message
Eclipse UserFriend
mack karen wrote on Tue, 07 January 2020 06:47
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 omegle xender 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?

[Updated on: Wed, 16 December 2020 05:23] by Moderator

Previous Topic:KEIL(ARMCC) to ECLIPSE(GNU ARM) Port
Next Topic:Valgrind integration missing
Goto Forum:
  


Current Time: Wed May 07 08:32:05 EDT 2025

Powered by FUDForum. Page generated in 0.04119 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top