Difference between revisions of "DDD"

From ArmadeusWiki
Jump to: navigation, search
 
(4 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">
 
  $ sudo apt-get install ddd
 
  $ sudo apt-get install ddd
 +
</pre>
  
 
==Launch==
 
==Launch==
  [armadeus] $ ddd --debugger ./buildroot/build_arm/staging_dir/bin/arm-linux-gdb
+
<pre class="host">
 +
  $ 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>
  
 
==Links==
 
==Links==
 
* http://www.gnu.org/software/ddd/
 
* http://www.gnu.org/software/ddd/
 +
 +
[[Category:Debug]]

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