Linux c++ debugging

Started by
10 comments, last by Brain 8 years, 7 months ago

Netbeans has a pretty good UI for gdb, and it also has the best graphical source control client for Linux. I think they purposely try to rip off VS. It also has some refactoring capabilities for C++.

Same goes for eclipse (although I personally prefer netbeans)

Nost importantly, there are some scripts you can install that will let you view inside STL containers in gdb.

I'm actually a VS junkie myself... If I can, I just use C++11 or boost, and debug as much as possible in Visual studio, then run on Linux as late as possible.

And +1 for valgrind. It's not my "go-to" debugger, but there's nothing quite like it for finding memory leaks.

My Oculus Rift Game: RaiderV

My Android VR games: Time-Rider& Dozer Driver

My browser game: Vitrage - A game of stained glass

My android games : Enemies of the Crown & Killer Bees

Advertisement

And +1 for valgrind. It's not my "go-to" debugger, but there's nothing quite like it for finding memory leaks.

Valgrind also has a built in gdbserver too (from version 3.7.0 onwards) so you can connect to it via visual studio etc the same way as anything else speaking the GDB protocol. Have at it! smile.png

This topic is closed to new replies.

Advertisement