|
|
Add functionality to get full stack trace when exceptions are thrown.
This should address the issue raised in 7813.
try {
...
...
} on Object catch(e, s) {
print(s.fullStackTrace); // This should print the full stack trace.
}
Committed: https://code.google.com/p/dart/source/detail?r=19179
Total comments: 12
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+502 lines, -4 lines) |
Patch |
 |
M |
runtime/lib/lib_sources.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
runtime/lib/stacktrace.cc
|
View
|
1
2
3
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
A |
runtime/lib/stacktrace_patch.dart
|
View
|
1
2
3
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/bootstrap_natives.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/exceptions.cc
|
View
|
1
2
3
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
2
3
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
3
|
4 chunks |
+50 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object_snapshot.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/symbols.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
|
View
|
1
2
3
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/core/core.dart
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/core/corelib_sources.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
sdk/lib/core/stacktrace.dart
|
View
|
1
2
3
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/full_stacktrace1_test.dart
|
View
|
1
2
3
|
1 chunk |
+56 lines, -0 lines |
2 comments
|
Download
|
 |
A |
tests/language/full_stacktrace2_test.dart
|
View
|
1
2
3
|
1 chunk |
+97 lines, -0 lines |
3 comments
|
Download
|
 |
A |
tests/language/full_stacktrace3_test.dart
|
View
|
1
2
3
|
1 chunk |
+94 lines, -0 lines |
3 comments
|
Download
|
 |
M |
tests/language/language_dart2js.status
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
1 comment
|
Download
|
Total messages: 9 (0 generated)
|