summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/threads.js b/threads.js
index 82f7ab0..0511c53 100644
--- a/threads.js
+++ b/threads.js
@@ -1216,7 +1216,7 @@ Process.prototype.doShowVar = function (varName) {
}
// if no watcher exists, create a new one
isGlobal = contains(
- this.homeContext.receiver.variables.parentFrame.names(),
+ this.homeContext.receiver.globalVariables().names(),
varName
);
if (isGlobal || target.owner) {