I’m sure most of us have encountered some critical issues with our computer where the Operating system becomes corrupted and no matter how many System Repair attempts, it doesn’t seem to fix anything. At some point, we will end up with System Restore to bring our PC back to its safe state. Interestingly, this could also happen in a Python project. There is a chance that you will experience a scenario where you will encounter a Python error or bug that cannot be fixed even after adding additional logs. In this case, there is a solution known as black box debugging.
In this video presented by Deepak Kumar Gupta from the recently concluded PyCon 2020, we will explore more about the concept of Black Box debugging and how it could possibly save your program from such serious and seemingly unfixable error. Black box debugging is an idea where we add low footprint and encoded debug logs in the production code which drastically increases the chances of detecting the cause of a bug without requiring a recurrence with additional logs. In this talk, Deepak will walk us through the process of using In-Memory NoSQL with python code to get persistent logs without impacting the performance of the production code.