Development/Tutorials/Debugging: Difference between revisions

From KDE TechBase
No edit summary
 
No edit summary
Line 3: Line 3:
* you use [[KDbg]] from our [[tools]]
* you use [[KDbg]] from our [[tools]]
* you use [[add_trace]]
* 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.

Revision as of 09:50, 8 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.