Development/Tutorials/Debugging

From KDE TechBase
Revision as of 09:50, 8 September 2006 by Tampakrap (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

There are several ways to debug an existing program:

  • you know your program and insert kDebug statements to trace the course of the program
  • you use KDbg from our tools
  • you use add_trace

This program lets you modify your sourcecode so that an information is printed everytime the program enters a function. This is good if you do not know in which function your problem occurs.