[Seaside] [newbie!] syntax errors in framework code while
debugging/stepping into (kinda urgent)
jfitzell at gmail.com
Sun Jun 28 23:31:36 UTC 2009
I'm on my way to bed so I can't give you a detailed answer right now
but in general you are not going to be able to step through
continuations (at least in Squeak's debugger). Invoking a continuation
results in contexts being rewritten and processes being modified and
the debugger just doesn't keep up with that stuff. I'm not sure of the
top of my head why it was "stuck" or exactly what you mean by that but
I'm certainly not surprised you're having trouble. Continuations don't
mix well with exceptions or debuggers.
If you're having syntax errors within the same debugger window, it's
probably because the contexts are out of synch with what the debugger
is expecting. If you've closed the debugger and started a new session
and are still seeing the problem then I'm not sure what's up. Try
quitting the image and trying again.
Also, I suggest reading
you haven't already as you may find it helpful.
Perhaps someone will be able to give you more insight but that's the
best I can do for the instant.
On Sun, Jun 28, 2009 at 11:54 PM, <the_damnedest_creature at freenet.de> wrote:
> I couldn't find an answer via a google search so I hope I'm not the 100th
> person to ask this.
> For a presentation in my studies I'm having a look at continuations (in this
> case using call and answer) in seaside and naturally to see how things work
> I thought I'd use "self halt" right before the call of another component
> (via confirm: ) to use the debugger step through the programm or rather I
> mostly used step into as I didn't want to miss anything.
> The first time I did this, I think I could go up to the command "jump" after
> a redirectContinuation was created, the new page appeared and squeak was
> stuck, why is that? I somehow think it's normal...XD, but a little
> explanation maybe for such a complete newbie like me would be nice anyway.
> However my real problem now is that I get syntax errors after not even
> changing that code other than having buttons instead of links. I can get up
> to the answerContinuation creation, but when it comes to
> "initializeFromContext", there's a syntax error.
> Here's a screenshot (you can also see the seaside version there):
> Of course I didn't change any framework code, so I have no idea why an
> argument should be missing suddenly...
> But perhaps I'm just silly, sorry, am really new to this and hope to get an
> answer before Tuesday. (then's my presentation, I know it's close, but I
> didn't have this error before...)
> (As a little more unimportant question while I'm at it...why are
> RenderContinuations etc not real continuations anymore? what are they then?)
> thanks a lot in advance!!!
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside