<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: debuggers</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/debuggers.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2017-11-28T16:01:24+00:00</updated><author><name>Simon Willison</name></author><entry><title>Firefox Debugger Playground</title><link href="https://simonwillison.net/2017/Nov/28/debugger-playground--introduction--mozilla/#atom-tag" rel="alternate"/><published>2017-11-28T16:01:24+00:00</published><updated>2017-11-28T16:01:24+00:00</updated><id>https://simonwillison.net/2017/Nov/28/debugger-playground--introduction--mozilla/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://mozilladevelopers.github.io/playground/debugger/"&gt;Firefox Debugger Playground&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
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]


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/debuggers"&gt;debuggers&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/firefox"&gt;firefox&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;&lt;/p&gt;



</summary><category term="debuggers"/><category term="firefox"/><category term="javascript"/></entry><entry><title>How to code debuggers</title><link href="https://simonwillison.net/2007/Mar/23/taws/#atom-tag" rel="alternate"/><published>2007-03-23T09:22:15+00:00</published><updated>2007-03-23T09:22:15+00:00</updated><id>https://simonwillison.net/2007/Mar/23/taws/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://t-a-w.blogspot.com/2007/03/how-to-code-debuggers.html"&gt;How to code debuggers&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Accessible discussion of debuggers, ptrace, ELF, dynamic libraries and /proc.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://programming.reddit.com/info/1c0t5/comments"&gt;programming.reddit.com&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/debuggers"&gt;debuggers&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/dynlibs"&gt;dynlibs&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/elf"&gt;elf&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ptrace"&gt;ptrace&lt;/a&gt;&lt;/p&gt;



</summary><category term="debuggers"/><category term="dynlibs"/><category term="elf"/><category term="ptrace"/></entry></feed>