[Glass] tode and breakpoints and debugging.

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Sun Oct 25 18:06:26 PDT 2015


On Sun, Oct 25, 2015 at 9:41 PM, Jon Paynter via Glass <
glass at lists.gemtalksystems.com> wrote:

>
> Im trying to debug some seaside code - when I try to set a break point in
> my method, and run the method from a browser -- nothing seems to happen.  I
> dont get a message in the browser and I cant see anything related in the
> object log.
>
> to set the method breakpoint, I navigate to the method in the hierarchy
> browser, right click & pick 'set breakpoint'.
> Are method breakpoints working in tode?
>
>
Just for the record, do you have native code enabled? Also, which OS?


>
> Next I tried the old school "self halt" in my code.  That gave a message
> in the browser, and I was able to see the continuation in the object log,
> and start a debugger.  However I found all the debug related options (step
> over, step into, continue, restart) -- were greyed out.   I tried modifying
> the method i want to debug (sometimes that will get things going), but that
> didnt work either.
>

As far as I know, it's not possible to proceed and friends from a stored
continuation.
There was a way of doing this in GemTools, which was opening the web
adaptor directly from GemTools (not on a separate gem) and that would
prompt a debugger which you were able to restart, proceed, etc.... Of
course, GemTools looked like "freeze" while the seaside adaptor was running
since it was using same gem.

That being said, I never used breakpoints (always #halt), so I don;t know.

Cheers,





>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20151025/20c0a1d4/attachment.html>


More information about the Glass mailing list