The Debugging Book

debuggingbook.org

193 points by signa11 7 days ago


foofoo12 - 4 days ago

Watched the video, sounds very promising!

Pro tip when you start a new project or get handed one: start by "wasting" time setting up a good debugging environment. So you can set a break point, click one button and BOOM, you're there.

Whatever time you "waste" on that will pay you dividends on a daily basis for every single day you work on that project. Both in the form of productivity and happiness (it's a form of self-care too!)

hsbauauvhabzb - 4 days ago

As someone who is self taught at debugging, knows my way around an interactive debugger very well but could undoubtedly be better (with a good roi on investment) this is of significant value!

I would suggest spelling out the purpose of the book - is it about /using/ debuggers or /writing/ one? The first paragraph implies the first, but the 100 lines of python or 10k lines of C implies the latter.

Also, on ios16, the top menu is unclosable - once it’s open the only apparent way to collapse it is to pick an option or refresh the page. Edit: the sections under news such as the title and paragraph for ‘the debugging book’ jan 14 2025 are white text on a white bg also.

I’m looking forward to reading this book though!

matu3ba - 4 days ago

Looks like a very reasonable guide for Python software debugging. Reversal computing/time reversal computing is missing, but probably Python programs are not that complex or long-running to use that.

Does Python without GIL have validator/sanitizers, scheduling and recording for non-determinism capabilities? If yes, then either Python is lacking or these methods are also missing.

medwards666 - 4 days ago

The website needs debugging for sure.

In dark mode, the text towards the bottom of the page renders as white on white ...