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: