|
|
Second version of support for specifying an unhandled exception callback
in Dart. Isolate.spawnFunction optionally takes a callback parameter,
which is not resolved until an unhandled exception occurs. If a callback
wasn't specified, the VM will then call an "_unhandledExceptionCallback"
function if it is defined in the isolate's source file. If no callback
is provided, the error is logged as the isolate is closed.
Committed: https://code.google.com/p/dart/source/detail?r=16186
Total comments: 10
Total comments: 8
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+363 lines, -24 lines) |
Patch |
 |
M |
runtime/lib/isolate.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+49 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/lib/isolate_patch.dart
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A |
runtime/tests/vm/dart/isolate_unhandled_exception_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
runtime/tests/vm/dart/isolate_unhandled_exception_test2.dart
|
View
|
1
2
3
4
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
runtime/tests/vm/dart/isolate_unhandled_exception_uri_helper.dart
|
View
|
1
2
3
4
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
runtime/tests/vm/dart/isolate_unhandled_exception_uri_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/bootstrap_natives.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/exceptions.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/exceptions.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+95 lines, -11 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_store.h
|
View
|
1
2
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_store.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sdk/lib/isolate/base.dart
|
View
|
1
|
2 chunks |
+28 lines, -2 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|