[Seaside] 2.3.2 ==> 2.5a: Session

Julian Fitzell julian at beta4.com
Sun Jun 20 02:43:42 CEST 2004


It's just that the session is obtained from the dynamic scope... the 
debugger messes with this.  It's the same reason you can't get the 
current OmniBase transaction or similar in the debugger.

I've never been quite clear if this is a bug or an unavoidable issue 
with the debugger, though...

Julian

Nevin Pratt wrote:
> 
> 
> Avi Bryant wrote:
> 
>>
>> If that were so, pretty much nothing would work.  I bet what you mean 
>> is, evaluating "self session" from the debugger returns nil.  Try 
>> "self session inspect halt" rather than "self halt".
>>
> 
> In pretty much every version of Seaside that I can remember, evaluating 
> 'self session' did not work when done within the debugger.  And so I've 
> long ago gotten in the now-almost unconcious habit of 'self session 
> inspect halt' (or something similar).  And, I've been going to check 
> (out of curiousity) for ages now why the other doesn't work, but never 
> have.
> 
> So, Avi, what's the "short version" of why it doesn't work in the 
> debugger?  I realize that if I want the longer version, I can just poke 
> around the code and the debugger to see.  But what's the quick-and-dirty 
> "short version"?   I'm sure it has something to do with the way Seaside 
> mucks with the context stack, though.
> 
> Nevin
> 


More information about the Seaside mailing list