Simon Willison’s Weblog


2 items tagged “debuggers”


Firefox Debugger Playground. Excellent hands-on tutorial to using the Firefox JavaScript debugger. I learned a bunch of neat tricks from this—including using conditional breakpoints to add temporary console.log statements—since that function returns undefined it won’t pause your code, but this saves you from having to remember to remove the lines from your source code later. I also didn’t know that the Firefox debugger can show the value of variables in paused code if you hover over them in the source pane. [UPDATE: Turns out Chrome DevTools do this as well—TIL] # 28th November 2017, 4:01 pm


How to code debuggers (via) Accessible discussion of debuggers, ptrace, ELF, dynamic libraries and /proc. # 23rd March 2007, 9:22 am