Commit 2d503b1
debugger: display array contents in repl
This commit allows all array properties to be printed except for
"length". Previously, this filter was applied by checking the
type of each property. However, something changed in V8, and
array elements started coming through as numeric strings, which
stopped them from being displayed.
Fixes: #6444
PR-URL: #6448
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>1 parent 5fe5fa2 commit 2d503b1Copy full SHA for 2d503b1
File tree
Expand file treeCollapse file tree
2 files changed
+6
-2
lines changedOpen diff view settings
Filter options
- lib
- test/debugger
Expand file treeCollapse file tree
2 files changed
+6
-2
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
548 | 548 | |
549 | 549 | |
550 | 550 | |
551 | | - |
552 | | - |
| 551 | + |
| 552 | + |
553 | 553 | |
554 | 554 | |
555 | 555 | |
|
Collapse file
test/debugger/test-debugger-repl.js
Copy file name to clipboardExpand all lines: test/debugger/test-debugger-repl.js+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
0 commit comments