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
6
votes
2 answers

getting info about threads in gdb/ddd

I am debugging a multi threaded application using ddd. At the same time each second I can see on DDD console out that a new thread is created [NewThread 0x455fc940 (LWP 27373)] and destroyed immediately after it. [Thread 0x455fc940 (LWP 27373)…
Abruzzo Forte e Gentile
  • 14,423
  • 28
  • 99
  • 173
5
votes
3 answers

How to change Motif theme in DDD and Insight to something more pleasant?

I have Tk version 8.5.3 installed, theming engine support added since 8.5. Still, I don't know how to use themes, default Motif is just ugly: Screenshot
sph
  • 51
  • 1
  • 2
5
votes
3 answers

Can DDD account for strings?

I am trying to figure out a problem in my c++ code and have DDD to debug with on a Sun machine. I am required to use strings per some standard we have. But whenever DDD encounters a string variable, it always comes up as being empty. I want to…
mdeliota
  • 51
  • 1
5
votes
4 answers

DDD Alternative that also Draws Pretty Pictures of Data Structures

Is there anything other than DDD that will draw diagrams of my data structures like DDD does that runs on Linux? ddd is okay and runs, just kind of has an old klunky feeling to it, just wanted to explore alternatives if there are any. The top part…
Kyle Brandt
  • 26,938
  • 37
  • 124
  • 165
4
votes
0 answers

how to step into C++ code while debugging python using DDD(or gdb)

For test example, I have this test C++ class which I exported to Python using boost.(from boost website) #include using namespace boost::python; struct WorldC { void set(std::string msg) { this->msg = msg; } std::string…
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
4
votes
1 answer

Hide static data members in DDD, or show only certain members

My DDD data display window is overcrowded because every object is listed with its static data members as well as its instance data members. Is there an option to hide these? EDIT: Even better, can I take an array slice and display, for each element,…
spraff
  • 32,570
  • 22
  • 121
  • 229
3
votes
2 answers

Can't set breakpoints when using gdb in emacs (or DDD)

I'm trying to use gdb with emacs. The library that I'm trying to debug is loaded by a process and can't be run directly. Hence I attach to the process by using the attach command inside gdb. Attaching to a process and setting breakpoints works fine…
3
votes
1 answer

Generate a coredump from crashed process attached to ddd/dbx

I'm running dbx in ddd on Solaris. The attached process has crashed and I can examine the stack in the debugger. I want to save this core dump to disk for later. Google shows me several ways to create a core dump but none of them are ddd/dbx…
spraff
  • 32,570
  • 22
  • 121
  • 229
3
votes
0 answers

how to install debug info for libc?

ADD : This link (https://stackoverflow.com/a/48287761/2554472) had the answer for my question (Mark Plotnick's answer). Different title, duplicate answer. I'm using ddd(with gdb) to analyze a program(qemu). Before the main() starts, there are some…
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
3
votes
2 answers

installing ddd - fatal error

So I have been trying to install DDD. I am on a Mac OS X 10.9(Mavericks) and I have the latest Xcode installed. Whenever I run my configure file the last thing I get is the following: checking whether c++ accepts -g... yes checking whether the C++…
amenocal
  • 39
  • 5
3
votes
4 answers

What's the bare minimum Cygwin install to have DDD running properly on XP?

I’m using the gcc in MinGW that comes with Strawberry Perl, on Windows XP. I’d like to have ddd (the Data Display Debugger) as well but apparently on Windows the simplest way to get ddd is by running Cygwin. So what's the bare minimum of Cygwin I…
Rob Kam
  • 10,063
  • 14
  • 55
  • 65
3
votes
1 answer

show value of variable when mouse hovers over in Emacs/gdb?

I am using GDB with emacs and sometimes use GDB with DDD. Starting version 22 (???) Emacs provides a tool-bar-mode, where you can do the most important commands like run, next, step, up/down of stack frames in the emacs UI. As such , I have moved…
thassan
  • 391
  • 3
  • 15
3
votes
1 answer

Why am I getting this error when trying to open a file with DDD?

Debugger: DDD. 64-bit Ubuntu Precise Pangolin system. Whenever I try to open a very simple C program in ddd I get the following error: Warning: This program is an suid-root program or is being run by the root user. The full text of the error or…
amorimluc
  • 1,661
  • 5
  • 22
  • 32
2
votes
0 answers

Visual display Debuggers like DDD

I am having massive troubles installing ddd on my Mac OSX lion. Anyone know of any other visual display debuggers like ddd ? It has to Visual display debugger. I have eclipse on my mac , does it come with a debugger? if yes how to get to it?
sukhvir
  • 5,265
  • 6
  • 41
  • 43
2
votes
1 answer

What is gdb/dbx doing when ddd is "waiting for it to get ready"?

I use ddd as a front-end for both gdb and dbx for C++ programs. Quite often, without any apparent cause, I will try to next and it will hang with the message "Waiting for gdb to get ready" or "Waiting for dbx to get ready". Does anybody know what it…
spraff
  • 32,570
  • 22
  • 121
  • 229