| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import sys | 5 import sys |
| 6 import pdb | 6 import pdb |
| 7 | 7 |
| 8 from .type_definitions import Handler | 8 from .type_definitions import Handler |
| 9 | 9 |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 sys.settrace(dbg.trace_dispatch) | 33 sys.settrace(dbg.trace_dispatch) |
| 34 return val | 34 return val |
| 35 sys.settrace(dispatch_thunk) | 35 sys.settrace(dispatch_thunk) |
| 36 try: | 36 try: |
| 37 test.run() | 37 test.run() |
| 38 except pdb.bdb.BdbQuit: | 38 except pdb.bdb.BdbQuit: |
| 39 pass | 39 pass |
| 40 finally: | 40 finally: |
| 41 dbg.quitting = 1 | 41 dbg.quitting = 1 |
| 42 sys.settrace(None) | 42 sys.settrace(None) |
| OLD | NEW |