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
0
votes
1 answer

DDD Execution Windows never opens, loads infinitely

thanks everyone for all the help before. This time, I needed the Execution Window in order to see what the code is doing, but it doesn't open. Trying to open it gives me the dialog box you see below, and it simply never opens. I'm running the Ubuntu…
zapshe
  • 228
  • 1
  • 8
0
votes
1 answer

Error using DDD debugger c, no source for printf.c

I am using DDD for debugging in C. I get the following error: DDD: No source [file-location]/printf.c: No such file or directory The error occurs at the following line of code: printf("i = %d\n", i); My guess is that it is not reading the printf…
Jinzu
  • 1,325
  • 2
  • 10
  • 22
0
votes
0 answers

How to fix "0x00000000004000e7 in ?? ()" error in x86 assembly

I'm writing bubble sort in x86 assembly. I used DDD to figure out registers status and stack info. I steped through the program, and I ran into the error 0x00000000004000e7 in ?? (). I want to figure out why this happened. This is my…
Y.A. Cao
  • 1
  • 1
0
votes
0 answers

Impossible to debug assembler code due to segmentation faullt

Here below I have a peace of code for two programs that cannot be debugged. Written in assembly language. Main point is that I need to debug it using DDD debugger. However, it displays "Segmentation Fault" in each case. I also tried to debug it in a…
0
votes
2 answers

Why does not the option to make a breakpoint pending appear when I use DDD?

Hi all! Thanks for the help in advance. I'm trying to debug an excutable with multiple files and I need to place a breakpoint outside the current file. When I do this with the gdb CLI it tells me that the source file is not in the current context…
crivera
  • 1
  • 1
0
votes
1 answer

ddd 'Can't open display' on macos

I'd like to debug a cython program (following this tutorial). To do so, I need ddd. So, I run the following command: brew install ddd but when the command ddd python3 leads to: Error: Can't open display: What can I do to have more information on…
MarcoMag
  • 556
  • 7
  • 18
0
votes
2 answers

How to find where a process is stuck using DDD

I have a TCP Svr process written in C and running on CentOS 5.5. It acts as a TCP Server for external clients and also does some IPC communication with other processes in the system using Unix Domain Sockets it has establised. It's not a multi…
FatherFigure
  • 1,135
  • 1
  • 16
  • 39
0
votes
1 answer

Runtime Error with DDD

Trying out DDD for the first time in conjunction with some C++ code I already have written and compiled on another machine. When I run DD with the code, I get this error: Using host libthread_db library…
nashw
  • 25
  • 6
0
votes
1 answer

SIGSEV while using DDD (Data Display Debugger)

It's my first time using DDD and i'm pretty inexperienced with the subject matter in question (c in unix environment) so i might be overlooking something. I'm receiving a segmentation fault when i try to fscanf from a file, which doesn't occur in a…
NUGA
  • 185
  • 1
  • 2
  • 8
0
votes
0 answers

Setting up GDB with DDD for OS-161

I'm setting up gdb for debugging OS-161 and I'm planning to use DDD as a visual front-end. I'm following instructions from the official CS-161 course page: http://www.eecs.harvard.edu/~cs161/resources/eclipse.html (scroll down to DDD). After…
cloudy_eclispse
  • 313
  • 4
  • 16
0
votes
1 answer

Gdb wont open after warning

GDB will not open. I get Warning: Cannot convert string "--symbol------120-----adobe-*" to type FontStruct I tried several suggestions I found online and none seem to work. Any help is appreciated.
davis
  • 341
  • 2
  • 10
0
votes
1 answer

methods definition in gdb without having the source

I have a debug build without sources to start with. ptype gives me the class definition with the prototype of methods declared in it. (gdb) ptype A type = class A : public B { private: int c; public: virtual void accept(Ivisitor…
Gopal
  • 11
0
votes
1 answer

gdb could not be started - DDD to a remote inferior debugger

Im trying to attach DDD to gdb on a remote machine. I have configured rsh to not require a pass for my machine & username. ddd opens with "rtx5:1234: not found" and a pop-up with "GDB could not be started". From calling ddd --host rtx5:2159 --trace…
0
votes
1 answer

DDD(debugger) graphic display format

When I give for example graph display B[576] @576, I can see the array values, 576 values from array B[576]. But I can't understand the display result seen below. What does the first element 0 <225x> mean? Does it mean 225 zero values?
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
0
votes
1 answer

DDD: Cannot convert string "-*-helvetica-medium-r-*-230-*-iso8859-*" to type FontStruct

I'm using DDD 3.3.12 to debug C/C++.The following is the OS infos: RHEL6.0-2012-x86_64 Red Hat Enterprise Linux Workstation release 6.3 When I started DDD, it shows: Warning: Cannot convert string "--helvetica-medium-r----230-----iso8859-"…
Yuan Wen
  • 1,583
  • 3
  • 20
  • 38