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

GDB: How to list all source files used for compilation

New to the project, have multiple source files used for compilation and some "could" be dynamic libraries, loaded at runtime. When debugging the executable using "GDB", is there a command to list all the source files (static) used to build the…
Mike
  • 1,205
  • 3
  • 12
  • 21
36
votes
9 answers

What is a good unix alternative to DDD (Data Display Debugger)?

I am developing c on linux using vim and debugging using ddd. However I find that ddd performs very poorly at scrolling on this machine so its sometimes very frustrating to use. I like the way that ddd maps fairly closely to the gdb command set as…
frankster
  • 1,529
  • 2
  • 16
  • 20
23
votes
8 answers

ddd hangs on start

Question has been asked before and I see bug report on ddd newsgroups but none of the suggested solutions work for me. It comes up but when you try doing anything like opening a file it hangs with the message "waiting until GDB gets ready." A…
c-urchin
  • 4,344
  • 6
  • 28
  • 30
20
votes
5 answers

windows version of the GDB frontend DDD

Is there a native (not cygwin) version of DDD available for download somewhere?
BCS
  • 75,627
  • 68
  • 187
  • 294
19
votes
2 answers

Debugging Python and C++ exposed by boost together

I can debug Python code using ddd -pydb prog.py. All the python command line arguments can be passed too after prog.py. In my case, many classes have been implemented in C++ that are exposed to python using boost-python. I wish I could debug python…
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
13
votes
2 answers

How to debug C++11 code with unique_ptr in DDD (or gdb)?

std::unique_ptr are nice, but I find them less comfortable when debugging in DDD or gdb. I'm using the gdb pretty printers that are part of gcc (e.g., /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.py). That is a big win for readability, for…
Philipp Claßen
  • 41,306
  • 31
  • 146
  • 239
12
votes
3 answers

gdb/ddd Program received signal SIGILL

I wrote a very simple program in Linux using c++, which downloads images from some website over http (basically developed a http client request), using cURL libraries. http://curl.haxx.se/libcurl/c/allfuncs.html #define CURL_STATICLIB #include…
Rudy01
  • 1,027
  • 5
  • 18
  • 32
11
votes
3 answers

Remote debugging using gnu DDD

Question: Is it possible to debug, when the target is on a remote host? Example: # ddd --debugger /usr/bin/bashdb (on remote host)
Aaron
  • 2,823
  • 9
  • 44
  • 57
10
votes
0 answers

how to debug cython using cygdb?

It is supposedly possible to debug a Python3/Cython project using gdb, after building gdb from source if you configure it with python2.7 as specified in the Cython debugging documentation. However, the example in the documentation: is sometimes…
PDiracDelta
  • 2,348
  • 5
  • 21
  • 43
10
votes
2 answers

warning when running ddd in ubuntu

I've just installed ddd on Ubuntu 14.04 LTE. If I run it on the command line, I get the following warnings: user@user-VirtualBox:~/projects/myproject$ ddd Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type…
flashburn
  • 4,180
  • 7
  • 54
  • 109
10
votes
2 answers

How to skip past loops in ddd (gdb)

During many, sometimes inundating, debugging sessions using DDD, I stumble upon loops. And I keep pressing next to get past it, and if there are many iterations, I just set a break point right after it, and press "continue." Is there any other way…
vehomzzz
  • 42,832
  • 72
  • 186
  • 216
9
votes
2 answers

Running ddd on Mac OS X

I tried to install and run ddd using the following commands: brew install libtool brew link lesstif brew install ddd And received the following error message when trying to run ddd: cd@new-host:~$ ddd dyld: Library not loaded:…
9
votes
3 answers

ddd hangs on start

When I start ddd, it seems hang waiting for gdb. Here is the tail end of output ddd --trace: # Saving session in "/home/kbrandt/.ddd/sessions/106d7eb3d567f23b01125736049734486400000041300582/init"... # Saving session in…
Kyle Brandt
  • 26,938
  • 37
  • 124
  • 165
9
votes
1 answer

Starting ddd with remote gdbserver

I'm debugging a program that runs on a remote target using ddd ( the remote gdbserver is running on localhost over port 1234 for example, but still acts as remote). I know you can connect to the gdbserver by opening ddd, then calling target remote…
Niv
  • 2,294
  • 5
  • 29
  • 41
7
votes
2 answers

warning: (Internal error: pc 0x804a6b0 in read in psymtab, but not in symtab.) g++

I am trying to debug a program using ddd. When I try to enter any function, or within main() itself, I get the following warning: warning: (Internal error: pc 0x804a6b0 in read in psymtab, but not in symtab.) This warning flashes whenever I try…
Sriram
  • 10,298
  • 21
  • 83
  • 136
1
2 3 4 5 6 7