Skip to content

Commit

Permalink
fix a bug in StackTrace.parent (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed May 23, 2020
1 parent f451a79 commit bcb2430
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# webkit_inspection_protocol.dart

## 0.7.2
- Fix a bug in `StackTrace.parent`

## 0.7.1
- Exposed `Debugger.setAsyncCallStackDepth`
- Exposed `StackTrace.parent`
Expand Down
2 changes: 1 addition & 1 deletion lib/src/runtime.dart
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class StackTrace {
/// available.
@optional
StackTrace get parent {
return json['callFrames'] == null ? null : StackTrace(json['callFrames']);
return json['parent'] == null ? null : StackTrace(json['parent']);
}

List<String> printFrames() {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: webkit_inspection_protocol
version: 0.7.1
version: 0.7.2
description: A client for the Chrome DevTools Protocol (previously called the Webkit Inspection Protocol).
homepage: https://github.com/google/webkit_inspection_protocol.dart

Expand Down

0 comments on commit bcb2430

Please sign in to comment.