Questions tagged [ddd-debugger]

Data Display Debugger (DDD). A GUI based front-end for command line debuggers. Distributed under the GNU GPL license.

The Data Display Debugger has GUI front-end features such as code browsing, data display and interactive graphic displays. DDD is primarily used on Unix based systems.

91 questions
1
vote
0 answers

Can I put debug hooks in Qt's threading error messages?

I think I've broken the rules on thread affinity somewhere in my Qt C++ application. I'm getting lots of messages like this: QBasicTimer::stop: Failed. Possibly trying to stop from a different thread QBasicTimer::start: Timers cannot be started from…
spraff
  • 32,570
  • 22
  • 121
  • 229
1
vote
0 answers

How to install DDD on OS X

I am trying to install DDD debugger on OS X Yosemite. There is no Hombrew package for ddd anymore and I tried with downloading the source code for DDD and then running: ./configure && make but this didn't work. I got an error saying: creating cache…
Ratko
  • 543
  • 1
  • 4
  • 9
1
vote
1 answer

ddd green debugging arrow disappears when stepping through instruction

I'm debugging the JOS kernel (from mit operating system lab) in qemu with ddd. I set a breakpoint on the assembly instruction calling the kernel main function i386_init defined in init.c. when i launch the kernel, ddd (gdb) breaks well on that…
Mahouk
  • 902
  • 9
  • 28
1
vote
0 answers

DDD init file corrupted by gdb

There is a well known DDD bug that does not allow it to boot when the init file becomes corrupt. This file is automatically created at directory .ddd, in the root user, with every boot. It must be erased each time it gets corrupted in order to run…
1
vote
2 answers

ddd debugger enters an infinite loop when the program tries to read console input

when a C++ program reads from cin, the ddd provides it with "1" instead of letting me type the input in its console. Since the program reads interactive commands, "1" is an invalid command and ddd seems to have an infinite supply of them, the result…
davka
  • 13,974
  • 11
  • 61
  • 86
1
vote
1 answer

ddd debugging c project, where to put -g tag when compile?

I want to debug c source code by using ddd debugger. instruction say when compile it should compiled with -g tag. here is how I compile this project. aclocal , automake --add-missing, autoreconf, ./configure, make. so where should I put -g tag,…
arslan
  • 2,034
  • 7
  • 34
  • 61
1
vote
1 answer

Is there a gdb (or similar) frontend that will show the program stack visually?

Basically, I'm looking for something where I can break execution and then see a visual representation of the stack in memory. DDD doesn't have this as far as I can tell.
Jay
  • 449
  • 1
  • 5
  • 16
1
vote
1 answer

Why isn't ddd displaying the source code?

When I run my ddd, it doesn't display the source code. The source window is blank. The execution is still there for example I can step through the program but there is no visual indication where in the code the execution is happening. How can I fix…
sukhvir
  • 5,265
  • 6
  • 41
  • 43
1
vote
0 answers

error in DDD, trying to find location of SEGFAULT

whenever i try to run ddd ./draw2& to find where my seg fault occurs it doesnt work. i get this error /home/dsk 13/ugrad/twendlan/C201/Assignment2/drafts/sysdeps/x86_64/strcmp.S: No such file or directory I don't know how to get by this error, I'm…
wenincode
  • 376
  • 5
  • 10
  • 20
0
votes
1 answer

C Buffer overflow Display message (Using Ubuntu and DDD)

#include #include void badf(int n, char c, char* buffer) { int i; for (i=0; i
Dan1676
  • 1,685
  • 8
  • 24
  • 35
0
votes
1 answer

Can the DDD debugger be run with pdb instead of pydb?

I am trying to set up the DDD debugger on Ubuntu to debug python3 programs. However, as the documentation of ddd suggests, for python programs it uses pydb. Invoking ddd --pydb produces an error on my machine (Ubuntu 22.04), since pydb is not…
0
votes
0 answers

GDB in DDD on Assembly .asm file won't allow me to look up variable value

I've been trying to look up a value using gdb in ddd but when I type x/uw &min at the prompt I just get a return character that resembles a logic negation simple that has been tilted upward ninety degrees. My computer is an Evolve III maestro and my…
Furyan
  • 1
  • 1
0
votes
0 answers

How can I print long character string in gdb? (gdb inside ddd)

Please see ADD(solved) below. While debugging linux booting on a qemu virtual machine, I wanted to print the log buffer at some point. (printk write to the buffer called __log_buf and the contents are flushed out to serial port when serial port is…
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
0
votes
1 answer

While using ddd(display debugger), how can I go back to where execution stopped in the source line after some navigation?

I use ddd (display debugger) as GUI, and gdb as the internal debugger. I think I knew this but I can't remember how I did this. At a breakpoint, sometimes I do 'up' and scroll the source window. Then I want to go back to where I was. (the next line…
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
0
votes
1 answer

Can't see the source code in DDD. how it cab be resolved?

I'm working with UBUNTU 16.04 Complied with gcc -g I've tried to look for answers for that and couldn't find.