| 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; | |
| 6 | |
| 7 import 'package:path/path.dart' as path; | 5 import 'package:path/path.dart' as path; |
| 8 | 6 |
| 9 import 'trace.dart'; | 7 import 'trace.dart'; |
| 10 import 'unparsed_frame.dart'; | 8 import 'unparsed_frame.dart'; |
| 11 | 9 |
| 12 // #1 Foo._bar (file:///home/nweiz/code/stuff.dart:42:21) | 10 // #1 Foo._bar (file:///home/nweiz/code/stuff.dart:42:21) |
| 13 // #1 Foo._bar (file:///home/nweiz/code/stuff.dart:42) | 11 // #1 Foo._bar (file:///home/nweiz/code/stuff.dart:42) |
| 14 // #1 Foo._bar (file:///home/nweiz/code/stuff.dart) | 12 // #1 Foo._bar (file:///home/nweiz/code/stuff.dart) |
| 15 final _vmFrame = new RegExp(r'^#\d+\s+(\S.*) \((.+?)((?::\d+){0,2})\)$'); | 13 final _vmFrame = new RegExp(r'^#\d+\s+(\S.*) \((.+?)((?::\d+){0,2})\)$'); |
| 16 | 14 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 return body(); | 295 return body(); |
| 298 } on FormatException catch (_) { | 296 } on FormatException catch (_) { |
| 299 return new UnparsedFrame(text); | 297 return new UnparsedFrame(text); |
| 300 } | 298 } |
| 301 } | 299 } |
| 302 | 300 |
| 303 Frame(this.uri, this.line, this.column, this.member); | 301 Frame(this.uri, this.line, this.column, this.member); |
| 304 | 302 |
| 305 String toString() => '$location in $member'; | 303 String toString() => '$location in $member'; |
| 306 } | 304 } |
| OLD | NEW |