I have managed to get through some of the example apps in Weblocks and
am trying to make a very simple app right now that uses the login
widget.  In trying to get this working I have 2 questions (hopefully
though the answer to the first will help me with the second):

1. How do you guys debug weblocks applications right now?  I found
this post:
http://groups.google.com/group/weblocks/browse_thread/thread/86a8435dfa1dc285/ca94e7c510634f38?lnk=gst&q=debug#ca94e7c510634f38
.  It seems old though and was wondering if the advice is the same.
Also i that post whalliburton mentions using:

function onActionFailure(transport) {
    alert(transport.responseText);
}


I wasn't really sure how though (I know very little about
Javascript).  Where can I place that code?  Just within a script tag
in my page using ajax?

2. The problem I am running into right now that requires debugging
(and for which it isn't enough to just get a backtrace in the browser)
is that when I click login on my page with the login widget, the
program seems to hang (and I am not sure where).  Even stranger is
that when I stop and start weblocks and navigate to my webapp, the app
never loads again (it seems like it is still hanging).  Looking at
SBCL's performance, it seems like SBCL is somehow going into an
infinite loop, and the only way I get my webapp to work again is by
restarting SBCL.  So my question is - is there a way I can debug this
by stepping through the code or even using print statements (i tried
just (print "x") in my function but it doesnt seem to be routing that
to the SBCL console - should it be?)

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to