Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library frame; | 5 library frame; |
| 6 | 6 |
| 7 import 'package:path/path.dart' as path; | 7 import 'package:path/path.dart' as path; |
| 8 | 8 |
| 9 import 'trace.dart'; | 9 import 'trace.dart'; |
| 10 import 'unparsed_frame.dart'; | 10 import 'unparsed_frame.dart'; |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 297 return body(); | 297 return body(); |
| 298 } on FormatException catch (_) { | 298 } on FormatException catch (_) { |
| 299 return new UnparsedFrame(text); | 299 return new UnparsedFrame(text); |
| 300 } | 300 } |
| 301 } | 301 } |
| 302 | 302 |
| 303 Frame(this.uri, this.line, this.column, this.member); | 303 Frame(this.uri, this.line, this.column, this.member); |
| 304 | 304 |
| 305 String toString() => '$location in $member'; | 305 String toString() => '$location in $member'; |
| 306 } | 306 } |
| 307 | |
| 308 import 'package:stack_trace/stack_trace.dart'; | |
|
Bob Nystrom
2016/01/12 01:12:14
?
nweiz
2016/01/12 01:30:35
Done.
| |
| 309 | |
| 310 void main() { | |
| 311 Chain.capture(() { | |
| 312 // Your program goes here. | |
| 313 }); | |
| 314 } | |
| 315 | |
| OLD | NEW |