File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes jdb and ddd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "jdb and ddd" Watch "jdb and ddd" New topic

jdb and ddd

Carl Parrish
Ranch Hand

Joined: May 03, 2002
Posts: 60
Does anyone have any experiance running jdb from within ddd. or have any sources I can find on it. ddd is a great tool, yet though it says it supports jdb I can only get it going with gdb. Any help would be appreciated.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

I've tried it, but the releases I worked with seemed to be buggy. The command-line option is "ddd --jdb PROGRAM".
I just downloaded Eclipse from A big problem I've had with the Java IDEs is that they require immense amounts of CPU and RAM. The machine I'm running on was built for that (Athlon 1800 XP+, 512MB) so I can't make a definitive statement, but it appeared to start much faster than Sun's Forte, and single-stepping through the debugger had no noticeable delays.
What REALLY impressed me, however, was the JIT compiling as you edit. If you mistype statements or do things that cause associated statements to become invalid, little light bulbs appear next to the offending lines. Click on them, and not only is the error explained, there's a popup list of things you can select to cause them to be corrected.
There are some annoyances, but so far, fewer than those in Forte. The two biggest are that I can't seem to get it to do printing (so far), and there doesn't seem to be a way to view files external to the project (though WITHIN the project, it does VERY well). It's 50MB to download, but worth the wait.

An IDE is no substitute for an Intelligent Developer.
Carl Parrish
Ranch Hand

Joined: May 03, 2002
Posts: 60
I've gotten eclipse installed and loaded (works great with CVS) but for now I've given up on doing everyday work with it. I just don't understand IDEs enough. (plus I miss my gvim commands). Its *supposed* to work well with ant though (so as soon as I figure that out I may be making other claims). Anyone know how to change the background color of the editor in Linux?
I agree. Here's the link:
subject: jdb and ddd
It's not a secret anymore!