rocky/python3-trepan

Compatible with ddd?

rodmur opened this issue · 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.

rocky commented

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`.

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