How to Use GDB as a Poor Man’s Profiler

By following exactly the steps you can often spot if application is in an infinite loop, or if it's just making really slow progress or swapping memory like crazy. If it is in an infinite loop, the clues from the backtrace function names are often enough to figure out what provoked it, and how to avoid running into the same problem in the future.

How to Use GDB as a Poor Man’s Profiler Read More »