|
|
Debugger break on TypeError, AssertionError
Add debugger functionality to pause the VM whenever a TypeError
or AssertionError exception happens.
This is a first step towards breaking on handled and unhanded
exceptions in general. We first need to generate more debug info
for catch handlers so we can determine whether an exception will
be handled or not before we unwind the stack to run the catch
clauses.
Committed: https://code.google.com/p/dart/source/detail?r=8457
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+212 lines, -56 lines) |
Patch |
 |
M |
runtime/bin/dbg_connection.h
|
View
|
1
2
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/bin/dbg_connection.cc
|
View
|
1
2
|
5 chunks |
+60 lines, -17 lines |
0 comments
|
Download
|
 |
M |
runtime/include/dart_debugger_api.h
|
View
|
1
2
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/debugger.h
|
View
|
1
2
|
5 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/debugger.cc
|
View
|
1
2
|
3 chunks |
+71 lines, -25 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/debugger_api_impl.cc
|
View
|
1
2
|
3 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/exceptions.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/ddbg.dart
|
View
|
1
2
|
2 chunks |
+21 lines, -7 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|