Component>>session not available in debugger?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Component>>session not available in debugger?

Sophie424
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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Component>>session not available in debugger?

Sebastian Sastre-2
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: [hidden email]
> [mailto:[hidden email]] En nombre
> de itsme213
> Enviado el: Sábado, 05 de Enero de 2008 19:07
> Para: [hidden email]
> 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
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Component>>session not available in debugger?

Lukas Renggli
>         if you need it badly you can force it to be assigned to a temp var
> like:

Even simpler is to open an inspector:

normalMessage
       ....
       self session inspect; halt.
       ....

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Component>>session not available in debugger?

Sophie424

"Lukas Renggli" <[hidden email]> wrote in message
> Even simpler is to open an inspector:
>
> normalMessage
>       ....
>       self session inspect; halt.

Thank you. I learn much with each post :-)

Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside