[Seaside] Component>>session not available in debugger?
Sebastian Sastre
ssastre at seaswork.com
Sat Jan 5 21:24:09 UTC 2008
HI Sophie,
if you need it badly you can force it to be assigned to a temp var
like:
normalMessage
^ self session someSessionMessage
normalMessage
"For debug"
| ssion |
ssion := self session.
self halt.
^ssion someSessionMessage
when the system halts you can see the session in the debugger,
cheers,
Sebastian
> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre
> de itsme213
> Enviado el: Sábado, 05 de Enero de 2008 19:07
> Para: seaside at lists.squeakfoundation.org
> Asunto: [Seaside] Component>>session not available in debugger?
>
> Within the "self halt" debugger "self session" is nil; but
> during a normal run it is fine.
>
> Is this due to some combination of threads, dynamic
> variables, etc.? Any way to see something like "session" from
> the debugger?
>
> Thanks - Sophie
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list