Hien
Hien

Reputation: 1779

debugger for C/C++ and Java

I mainly use vim, but I really like the debuggers used in modern IDEs such as Netbeans, Visual C++, and Eclipse and I am wondering if there were any debuggers like those except in a standalone program? I tried using gdb, but it seems that debugging will take a lot longer using a command line. I also tried ddd, but it was a little frustrating to use since it would not display some complex structures with arrays. I really like how the debuggers in the modern IDEs allow me to just click on the down arrow to view what are in my arrays something which I do not know how to do in gdb or ddd.

Upvotes: 3

Views: 1390

Answers (6)

Nemanja Trifunovic
Nemanja Trifunovic

Reputation: 24561

Don't know about Java, but for C++ you don't need an IDE to use a debugger. It is perfectly possible to code with vim and use a standalone debugger, such as windbg or gdb. In fact, that's what I do all the time.

Upvotes: 1

kalev
kalev

Reputation: 1925

Try Nemiver, which is a standalone graphical debugger for C and C++. It is openly developed as part of the GNOME project and uses gdb underneath.

http://projects.gnome.org/nemiver/

Upvotes: 2

Michael Smith
Michael Smith

Reputation: 411

For windows you can use windbg. It is very good.

Upvotes: 1

user500074
user500074

Reputation:

IntelliJ is free now so it should be a good choice, I've found it to be easier to use than Eclipse but I haven't used Eclipse too much. A few features like smart complete (Ctrl+Shift+Space that lets you import/complete constructors), independent run/debug consoles that can be viewed at the same time, hotswap debugging and autosave help me save time on day-to-day programming tasks. However, there's a lot of support and plug-ins for Eclipse since it's always been open source so it really depends on what you want to do.

Upvotes: 0

Kieveli
Kieveli

Reputation: 11085

Use Eclipse. You can easily create an Eclipse project around existing code, and still use VIM to edit your files while using Eclipse to debug.

Upvotes: 0

Gareth Davis
Gareth Davis

Reputation: 28069

You could have a look at:

http://code.google.com/p/jswat/

It's a standalone java debugger. I'm afraid it doesn't support C++ debugging.

Upvotes: 2

Related Questions