When faced with a Python script how can you go about learning how it works / debugging issues? In this article I provide insight into my own flow which might help you wrangle that snake. This is a follow-up to my Golang debugging flow https://www.petermcconnell.com/posts/golang_debugging/
I was asked recently how to debug a Golang application and after-the-fact thought I should spend some time detailing the steps incase it’s of benefit to others. In short I use a debugger called Delve
Looking at some of the most common tools used in Linux Systems debugging. The goal of this article is to give you a solid foundation on what tools to begin looking into for debugging Linux Systems and why.
Since Python 3.12, the interpreter can run in a special mode that allows Python functions to appear in the output of the perf profiler. When this mode is enabled, the interpreter will interpose a small piece of code compiled on the fly before the execution of every Python function and it will teach perf the relationship between this piece of code and the associated Python function using perf map files. We’ll create a dummy application and use the new tools to solve a perf issue.