Development/Tutorials/Debugging

From KDE TechBase

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.