←back to thread

376 points turrini | 9 comments | | HN request time: 0.833s | source | bottom
Show context
mech422 ◴[] No.42146468[source]
oh nice - reminds me of DDD(1) DDD was like magic first time I saw it. Oh wow - DDD is still maintained ?? :-D

1 https://en.wikipedia.org/wiki/Data_Display_Debugger

2 https://www.gnu.org/software/ddd/

replies(9): >>42146504 #>>42146873 #>>42147437 #>>42147656 #>>42147730 #>>42147888 #>>42149120 #>>42149837 #>>42157075 #
1. j1elo ◴[] No.42146504[source]
DDD was taught to me when in University, 20 years ago, and it already felt clunky, my views are now much more moderate but Motif still feels like an eyesore.

Conversations over the years have shown me that DDD was a great inverse marketing tool, ironically pushing developers towards the embedded debugger UI in their favorite IDEs... despite DDD itself being indeed very powerful. But even "usefulness over aesthetics" has its limits!

replies(4): >>42146664 #>>42146891 #>>42147301 #>>42147421 #
2. donaldihunter ◴[] No.42146664[source]
Yeah, I remember DDD being an incredible tool back in the day, but it was clunky even when it was new (1995).

https://www.gnu.org/software/ddd/manual/pdf/ddd-paper.pdf

3. synergy20 ◴[] No.42146891[source]
motif does not work well with high resolution display, sadly
replies(2): >>42147293 #>>42149716 #
4. anthk ◴[] No.42147293[source]
Motif today supportṡ TTF and for the HD issues, you can the DPI option for X11 at ~/.Xdefaults
5. anthk ◴[] No.42147301[source]
Current DDD under the updated OpenMotif with TTF fonts can look much better than it did in the 90's and 00's, miles ahead than LessTif/former propietary Motif. It blends perfectly with EMWM where I have Liberation Sans/Mono for almost everything.
6. dirkf ◴[] No.42147421[source]
There's one DDD feature that I haven't found elsewhere: its graphical representation of a struct and its contents. You can double-click on a pointer field and then it draws whatever that field pointed to, with a nice arrow connecting the two.

I've found it a very powerful yet compact way to visualize the state of a program when debugging.

replies(2): >>42147735 #>>42151006 #
7. jlintz ◴[] No.42147735[source]
yes! this was so great in college to learn pointers and visualize linked lists
8. hulitu ◴[] No.42149716[source]
Citation needed. I use Motif programs without issues on high resolution displays.
9. malkia ◴[] No.42151006[source]
Reminds of SmallTalk / and Lisp's - https://en.wikipedia.org/wiki/Common_Lisp_Interface_Manager

There was even a story, that (at least for Common Lisp), you can start from almost blank state, but have an exception handler installed (that can continue), so as you go you live-edit and add pieces missing, or if code crashes change.

This is all good, until nowadays, where you really want to know what's deployed in production, and not just the last stuff I've live fixed.

I mean, I guess both have values tbh, but hard to pull two models like this and use... bit like - debugger or printf statements (or both!)