3c90369ba6
This should address the issue raised in 7813.
try {
...
...
} on Object catch(e, s) {
print(s.fullStackTrace); // This should print the full stack trace.
}
Review URL: https://codereview.chromium.org//12316116
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19179 260f80e4-7a28-3924-810f-c04153c831b5
14 lines
486 B
Dart
14 lines
486 B
Dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
patch class StackTrace {
|
|
/* patch */ String get fullStackTrace native "Stacktrace_getFullStacktrace";
|
|
|
|
/* patch */ String get stackTrace native "Stacktrace_getStacktrace";
|
|
|
|
/* patch */ void _setupFullStackTrace()
|
|
native "Stacktrace_setupFullStacktrace";
|
|
}
|
|
|