In short: What’s the most efficient debugger/debugging environment for C++?
I only started development on Linux recently because I now have to do some work on a GPU server.
I’ve played around with vim and find it quite nice with loads of plugins. I think for editing vim is way better than Visual Studio, but there’s one thing it doesn’t cover: debugging. I looked around and tried a few debuggers (GDB itself, pyclewn, DDD, nemiver) and none of them can provide me the efficiency that VS can.
Is there any debugger that comes close to VS’s debugger? Should I use an IDE instead? IDE isn’t really so convenient for me because I work on a lot of different computers, many of which are not mine and the only thing that’s guaranteed to be present on those computers is SSH.
I’m willing to pay for good debuggers.
The problem with remote debugging is, that the debugger must run on the executing machine. But there is a way under linux to do it remotely with an IDE.
You could use NetBeans IDE and use this Plugin: http://plugins.netbeans.org/plugin/37426/gdbserver
The Documentation for the
gdbservercould be found here: http://www.delorie.com/gnu/docs/gdb/gdbserver.1.html