[Seaside] Debugger not highlighting the right code
Avi Bryant
seaside@lists.squeakfoundation.org
Tue, 3 Dec 2002 11:04:48 -0800 (PST)
On Tue, 3 Dec 2002, Derek Brans wrote:
> Avi, I tried switching to pretty print, but it still mis-highlighted a
> halt call.
>
> It is really difficult to debug my seaside program. I'm going to have a
> look at the highlighting code in the debugger.
>
> If you want to have a look at the error, point your browser at:
> http://24.68.112.62:8000/seaside/WebDVS
Your problem is that you have
[oc addFirst: dir fullName.
dir _ dir containingDirectory]
whileFalse: [dir pathName = '']
which is backwards - it should be [condition] whileFalse: [action], so,
[dir pathName = '']
whileFalse:
[oc addFirst: dir fullName.
dir _ dir containingDirectory]
You're right that the highlighting on that particular stack frame is
incorrect, although it seems to be fine everywhere else...