debugger in docs

I was just trying to build the docs in svn HEAD< and got an exception
that through me into the debugger. This is something I haven't seen
before -- does anyone know where the debugger is being turned on

And thanks JJ for the excellent legend tutorial!