Thursday, November 12, 2009

The DDD debugging tool

The DDD debugging tool is what I am looking for.
A front-end for the gdb!!!

How to examine the data:
We can use all the techniques in gdb by typing commands :)
Besides,

  • The quickest way to examine variables is to move the pointer on an occurrence in the source text. The value is displayed in the source line; after a second, a popup window (called value tip) shows the variable value. This is useful for quick examination of several simple values.
  • If you want to refer to variable values at a later time, you can print the value in the debugger console. This allows for displaying and examining larger data structures.
  • If you want to examine complex data structures, you can display them graphically in the data window. Displays remain effective until you delete them; they are updated each time the program stops. This is useful for large dynamic structures.
  • If you want to examine arrays of numeric values, you can plot them graphically in a separate plot window. The plot is updated each time the program stops. This is useful for large numeric arrays.
  • Using GDB or DBX, you can also examine memory contents in any of several formats, independently of your program's data types.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.