DDDtutorial - You will see the ddd window on the screen....

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
DDD tutorial A GDB Graphical User Interface
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
DDD Introduction If you find GDB difficult to use, try DDD DDD s GDB but with a Graphical User Interface You can run it in lore from one of the lab machines. First make sure that your file is compiled with the –g option. bash> gcc –g –o rpncalc rpncalc.c Run bash> /p/ddd/bin/ddd <your-program> Example: bash> /p/ddd/bin/ddd rpncalc
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: You will see the ddd window on the screen. DDD Window Double click on a line to set a breakpoint and run your program. The lower part of the window allows you to type gdb commands. For example, you can type (gdb) run 5 6 + The best way to learn it is to try it. 20 minutes you spend learning it will save you hours and hours of debug time....
View Full Document

This note was uploaded on 02/18/2012 for the course CS 240 taught by Professor Rego during the Fall '08 term at Purdue University-West Lafayette.

Page1 / 3

DDDtutorial - You will see the ddd window on the screen....

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online