[Glass] callbackMarker not found in Seaside stack
Dale Henrichs
dale.henrichs at gemtalksystems.com
Mon May 19 14:48:48 PDT 2014
Otto,
Given an instance of WACallback, you can determine the source code of the
method where the callback is defined by looking at the `block` instance
variable og a WACallBack instance ... then in 3.1:
block _method sourceString. "source"
block _method inClass "class"
block _method _lineDeltaForBlock "line number in source (ignoring
selector)"
This can be done from a debugger (topaz) when error occurs ... navigate up
the stack to the WACallback>>evaluateWithFieldValues: frame... get the oop
of the _method (use `display oops`) and then sued the `send` command to
send the three different messages:
send @34379893 sourceString
... still digging ...
Dale
On Mon, May 19, 2014 at 10:55 AM, Otto Behrens <otto at finworks.biz> wrote:
> Thank you, Dale. I'm finally at home :)
>
>
> On Monday, May 19, 2014, Dale Henrichs <dale.henrichs at gemtalksystems.com>
> wrote:
>
>> Otto,
>>
>> Thanks!
>>
>> I'm finally in the office ) and will spend some time today getting myself
>> grounded in continuations again ... then I should have a better idea how to
>> proceed ...
>>
>> Dale
>>
>>
>> On Mon, May 19, 2014 at 9:47 AM, Otto Behrens <otto at finworks.biz> wrote:
>>
>>> > perhaps capturing the stack at the point the continue is created will
>>> give
>>> > us clues ...
>>>
>>> Attached are some stacks that I hacked in by calling the following
>>> method where we create them:
>>>
>>> WAPartialContinuation >> printStack
>>> | stream |
>>> stream := GsFile openWriteOnServer: '/tmp/stack_', self asOop
>>> printString.
>>> [ stream nextPutAll: partial printString ] ensure: [ stream close ]
>>>
>>> It does not tell me much at the moment. But perhaps you can see
>>> something. Or perhaps you have a better printing method that I can
>>> call?
>>>
>>> Thanks
>>> Otto
>>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140519/5d5d9bd4/attachment.html>
More information about the Glass
mailing list