File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
## 14.0.1-dev
2
2
- Add ` libraryFilters ` optional parameter to the vm service implememtation
3
3
of ` getSourceReport ` .
4
+ - Update temp variable detection heuristics so internal JS type objects do
5
+ not show in the debugger.
4
6
5
7
## 14.0.0
6
8
- Add column information to breakpoints to allow precise breakpoint placement.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'debugger.dart';
11
11
12
12
// TODO(sdk/issues/44262) - use an alternative way to identify synthetic
13
13
// variables.
14
- final ddcTemporaryVariableRegExp = RegExp (r'^(t[0-9]+\$?[0-9]*|__t\$\w*)$' );
14
+ final ddcTemporaryVariableRegExp = RegExp (r'^(t[0-9]+\$?[0-9]*|__t[ \$\w*]+ )$' );
15
15
16
16
/// Find the visible Dart properties from a JS Scope Chain, coming from the
17
17
/// scopeChain attribute of a Chrome CallFrame corresponding to [frame] .
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ void main() {
39
39
expect (ddcTemporaryVariableRegExp.hasMatch (r't10' ), isTrue);
40
40
expect (ddcTemporaryVariableRegExp.hasMatch (r'__t$TL' ), isTrue);
41
41
expect (ddcTemporaryVariableRegExp.hasMatch (r'__t$StringN' ), isTrue);
42
+ expect (ddcTemporaryVariableRegExp.hasMatch (r'__t$IdentityMapOfString$T' ),
43
+ isTrue);
42
44
43
45
expect (ddcTemporaryVariableRegExp.hasMatch (r't' ), isFalse);
44
46
expect (ddcTemporaryVariableRegExp.hasMatch (r't10foo' ), isFalse);
You can’t perform that action at this time.
0 commit comments