Development/Tutorials/Debugging: Difference between revisions

From KDE TechBase
No edit summary
(No difference)

Revision as of 14:57, 28 September 2006

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.