[Glass] tode and breakpoints and debugging.

Jon Paynter via Glass glass at lists.gemtalksystems.com
Sun Oct 25 18:42:41 PDT 2015


On Sun, Oct 25, 2015 at 6:06 PM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

>
>
> 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?
>

Not sure on the native code.  its probably whatever tode defaults to.  Host
os is windows 7 -- where pharo runs.   Gemstone/glass is running in an
ubuntu 12.04 VM.


>
>
>>
>> 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.
>
Well thanks for the reply.  hopefully Dale can shed some light on things on
Monday
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20151025/cb2ad0bf/attachment.html>


More information about the Glass mailing list