summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2015-03-23 13:56:05 +0100
committerJens Mönig <jens@moenig.org>2015-03-23 13:56:05 +0100
commit34187eb69e99b87158fe21a94a810085227b88cb (patch)
treecb30fbf0e3c244af65437f52327a0db97ef9005f /threads.js
parent93864cd4739963a462d5ea62f226531e2ecf27e1 (diff)
downloadsnap-34187eb69e99b87158fe21a94a810085227b88cb.tar.gz
snap-34187eb69e99b87158fe21a94a810085227b88cb.zip
fix (part of) "show variable" primitive for inheritance
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) {