Skip to content

Commit

Permalink
Merge pull request #56 from annagrin/annagrin/add-scope-name
Browse files Browse the repository at this point in the history
Expose name on WipScope
  • Loading branch information
devoncarew authored May 7, 2020
2 parents 724f1a4 + f17fd1e commit 22ac862
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
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.5.3
- expose name in `WipScope`

## 0.5.2
- have `ExceptionDetails` and `WipError` implement `Exception`
- add `code` and `message` getters to `WipError`
Expand Down
3 changes: 3 additions & 0 deletions lib/src/debugger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ class WipScope {
// "catch", "closure", "global", "local", "with"
String get scope => _map['type'] as String;

/// Name of the scope, null if unnamed closure or global scope
String get name => _map['name'] as String;

/// Object representing the scope. For global and with scopes it represents
/// the actual object; for the rest of the scopes, it is artificial transient
/// object enumerating scope variables as its properties.
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.5.2
version: 0.5.3
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 22ac862

Please sign in to comment.