Development/Tutorials/Debugging
< Development | Tutorials
In order to understand an application or find bugs it is useful to trace the code paths and get backtraces. There are several ways to do it:
- insert kDebug statements to trace the course of the program
- use gdb (tutorial)
- 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.