python3-trepan icon indicating copy to clipboard operation
python3-trepan copied to clipboard

Compatible with ddd?

Open rodmur opened this issue 8 years ago • 2 comments

I just tried using this with DDD on Debian and it doesn't appear to be compatible at this point. DDD does support a --debugger flag and it seems like it should be able to call trepan3k with that, but it appears to be only loading pydb. But the source isn't being displayed in the DDD gui.

Is trepan3k really gdb compatible? Because I used to just 'p' to print a variable, but appears I have to use 'pr' or 'pp' to do that.

rodmur avatar Feb 24 '17 01:02 rodmur

DDD is sort of a dead project. The principle authors haven't worked on it in over a decade. Making ddd to work with new debuggers is a mess. Because debugger/language configuration isn't centralized, I had to change almost a dozen files and bits and pieces strewn in each file. (And probably ddd doesn't easily build from source either.)

So in sum, if you want to use DDD use it with a debugger of around the time it was written.

I used to have p1 mean print, but when autoeval started getting used it was made it harder when there was a variable. You can always define an alias if you want pto meanprint`.

rocky avatar Feb 24 '17 01:02 rocky

Okay, cool, thanks for the answer. Is pyclewn a potential alternative? Or is there some other alternative?

rodmur avatar Mar 22 '17 22:03 rodmur