Difference between revisions of "DDD"

From ArmadeusWiki
Jump to: navigation, search
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger, or the Python debugger. Besides "usual" front-end features such as viewing source texts, DDD has become famous through its interactive graphical data display, where data structures are displayed as graphs.
 
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger, or the Python debugger. Besides "usual" front-end features such as viewing source texts, DDD has become famous through its interactive graphical data display, where data structures are displayed as graphs.
 +
 +
[[Image:ddd.png|thumb|400px|center|]]
  
 
==Installation==
 
==Installation==
* Kubuntu:
+
* Ubuntu/KUbuntu/XUbuntu:
 
<pre class="host">
 
<pre class="host">
 
  $ sudo apt-get install ddd
 
  $ sudo apt-get install ddd
Line 9: Line 11:
 
==Launch==
 
==Launch==
 
<pre class="host">
 
<pre class="host">
  [armadeus] $ ddd --debugger ./buildroot/build_arm/staging_dir/bin/arm-linux-gdb
+
  $ ddd --debugger ./buildroot/build_arm/staging_dir/bin/arm-linux-gdb
 +
(gdb) file your_prog
 +
(gdb) set solib-absolute-prefix ./buildroot/build_armv5te/staging_dir/
 +
(gdb) target remote 192.168.0.10:2345
 +
(gdb) ...
 
</pre>
 
</pre>
  

Latest revision as of 21:11, 27 October 2009

GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger, or the Python debugger. Besides "usual" front-end features such as viewing source texts, DDD has become famous through its interactive graphical data display, where data structures are displayed as graphs.

Ddd.png

Installation

  • Ubuntu/KUbuntu/XUbuntu:
 $ sudo apt-get install ddd

Launch

 $ ddd --debugger ./buildroot/build_arm/staging_dir/bin/arm-linux-gdb
 (gdb) file your_prog
 (gdb) set solib-absolute-prefix ./buildroot/build_armv5te/staging_dir/
 (gdb) target remote 192.168.0.10:2345
 (gdb) ...

Links