[BUG] debugger confuses temp variables

Mike Rutenberg mdrs at akasta.com
Thu Feb 7 10:49:01 UTC 2002


If you evaluate the expression below, it will print out the correct
variable values in the Transcript and then halt in the debugger.  When
you click in the variable pane (pain?), clicking on opt shows the value
of filename and visa versa.  Selecting the string "opt" in the debugger
and doing inspect shows the same behavior.

#(1) do: [ :opt |  | filename  |
	filename _ opt asString , 'x.dat'.
	Transcript show: opt asString ; cr.
	Transcript show: filename asString ; cr.
	self halt.
	].

This problem is easily reproducible in both 3.2gamma and 3.3alpha

Mike



More information about the Squeak-dev mailing list