User Tools

Site Tools


debugging-with-ddd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
debugging-with-ddd [2017/02/02 16:24]
brysonlt
debugging-with-ddd [2017/02/02 16:24] (current)
brysonlt
Line 5: Line 5:
 ===== Preparing Your Program ===== ===== Preparing Your Program =====
  
-===== Compilation Options =====+==== Compilation Options ====
  
 In order for your program to work with a debugger it must include debugging symbols. If you are using gcc you can make it add debugging symbols with the -g option. Since we will be using DDD as a front-end for gdb we can use the -ggdb option to get even better debugging information. In order for your program to work with a debugger it must include debugging symbols. If you are using gcc you can make it add debugging symbols with the -g option. Since we will be using DDD as a front-end for gdb we can use the -ggdb option to get even better debugging information.
debugging-with-ddd.txt ยท Last modified: 2017/02/02 16:24 by brysonlt