Skip to content
This repository was archived by the owner on Jun 14, 2018. It is now read-only.

Commit c17a41a

Browse files
committed
Use new data selectors
1 parent fb6d771 commit c17a41a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/commands/debug.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ var command = {
240240
}
241241

242242
function printVariables() {
243-
var variables = session.view(data.identifiers.native.current);
243+
var variables = session.view(data.current.identifiers.native);
244244

245245
// Get the length of the longest name.
246246
var longestNameLength = Math.max.apply(null, (Object.keys(variables).map(function(name) {
@@ -266,7 +266,7 @@ var command = {
266266
}
267267

268268
function evalAndPrintExpression(expr, indent, suppress) {
269-
var context = session.view(data.identifiers.native.current);
269+
var context = session.view(data.current.identifiers.native);
270270
try {
271271
var result = safeEval(expr, context);
272272
var formatted = formatValue(result, indent);

0 commit comments

Comments
 (0)