Commit 2389006
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 52d9e7b commit 2389006Copy full SHA for 2389006
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 |
|---|---|---|
| ||
547 | 547 | |
548 | 548 | |
549 | 549 | |
550 | | - |
551 | | - |
| 550 | + |
| 551 | + |
552 | 552 | |
553 | 553 | |
554 | 554 | |
|
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