top

How to Use GDB as a Poor Man's Profiler

posted 1 year ago
Thumbnail image for 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 [...]

Read the full article →