Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:47 Go to next message
mack karen is currently offline mack karenFriend
Messages: 1
Registered: January 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?
Re: Advice on debugging C++ on Linux [message #1835910 is a reply to message #1819066] Wed, 16 December 2020 10:22 Go to previous message
LouieBrown LouieBrown is currently offline LouieBrown LouieBrownFriend
Messages: 2
Registered: December 2020
Junior Member
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 10:23]

Report message to a moderator

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


Current Time: Sun Oct 06 22:19:59 GMT 2024

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

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

Back to the top