[BUG] debugger confuses temp variables

Doug Way dway at riskmetrics.com
Thu Feb 7 17:21:38 UTC 2002


For what it's worth, it appears that this bug has been around for a long time... I tried 2.8 and the bug is there.  So in that sense, it's probably not something that despearately needs to be fixed in time for 3.2.  (On the other hand, if there's a simple fix, let's fix it! :-) )

- Doug Way
  dway at riskmetrics.com


Mike Rutenberg wrote:
> 
> 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