--- a/GDBFrame.st Tue Mar 26 10:35:31 2019 +0000
+++ b/GDBFrame.st Tue Mar 26 10:40:50 2019 +0000
@@ -248,9 +248,17 @@
].
].
] ifFalse:[
- "/ Sorry for this - but I'm not sure when this may happen
- "/ so I would like get a debugger to investigate
- self breakPoint: #jv.
+ "/ This happens when execution enter a new scope on language level.
+ "/ For example:
+ "/
+ "/ 1 int i;
+ "/ 2 {
+ "/ 3 int j;
+ "/ 4 ...
+ "/ 5 }
+ "/
+ "/ When execution steps from line 1 to line 3, a new variable `j`
+ "/ appear so we end up here.
new do:[:newVar | newVar setFrame: self ]
].
] ifFalse:[
@@ -262,7 +270,7 @@
^ variables value
"Created: / 27-02-2015 / 14:56:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 26-03-2019 / 10:29:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 26-03-2019 / 10:38:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!GDBFrame methodsFor:'initialization'!