--- a/ContextInspectorView.st Tue Oct 08 13:55:35 2013 +0100
+++ b/ContextInspectorView.st Tue Oct 08 14:11:22 2013 +0100
@@ -73,7 +73,11 @@
keepList := ((aContext == inspectedContext)
"/ care for contexts which change size
"/ (after the locals & stack-setup)
- and:[ contextSize == inspectedContext size ]).
+ and:[ contextSize == inspectedContext size
+ "/ care for JavaContexts whose set of visible variables
+ "/ may change during method execution ( nested block locals... )
+ and:[ aContext isJavaContext not
+ ]]).
keepList ifTrue:[
"/ assume that the list remains unchanged;
@@ -125,7 +129,7 @@
method notNil ifTrue:[
argsOnly ifFalse:[
- homeNames := method methodArgAndVarNames.
+ homeNames := method methodArgAndVarNamesInContext: methodHomeContext.
"/ did it already allocate its locals ?
(homeNames size > (methodHomeContext numArgs + methodHomeContext numVars)) ifTrue:[
@@ -293,6 +297,7 @@
].
"Modified: / 03-06-2012 / 11:56:59 / cg"
+ "Modified: / 08-10-2013 / 12:00:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
namesOfBlockContext:aContext