Fix a bunch of uncaught exceptions in the debugger tests (bug 1013945). r=me