Presentation is loading. Please wait.

Presentation is loading. Please wait.

DDD tutorial A GDB Graphical User Interface. DDD Introduction If you find GDB difficult to use, try DDD DDD s GDB but with a Graphical User Interface.

Similar presentations


Presentation on theme: "DDD tutorial A GDB Graphical User Interface. DDD Introduction If you find GDB difficult to use, try DDD DDD s GDB but with a Graphical User Interface."— Presentation transcript:

1 DDD tutorial A GDB Graphical User Interface

2 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 Example: bash> /p/ddd/bin/ddd rpncalc You will see the ddd window on the screen.

3 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.


Download ppt "DDD tutorial A GDB Graphical User Interface. DDD Introduction If you find GDB difficult to use, try DDD DDD s GDB but with a Graphical User Interface."

Similar presentations


Ads by Google