Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "jdb and ddd" Watch "jdb and ddd" New topic
Author

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: 15964
    
  19

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 http://www.eclipse.org. 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.


Customer surveys are for companies who didn't pay proper attention to begin with.
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?
 
jQuery in Action, 2nd edition
 
subject: jdb and ddd
 
Similar Threads
Debugging
A good java development program???????
Java Debugger security question
jsp debugging
Beginning Debugging - how to make this work?