[Vm-dev] Freeze after Morph Activity

Bert Freudenberg bert at freudenbergs.de
Mon Jan 30 21:23:41 UTC 2017


On Mon, Jan 30, 2017 at 9:43 PM, Dan Norton <dnorton at mindspring.com> wrote:

>
>
> When a freeze occurs, it's usually(tm) during an animation, probably
> because the movement of an ellipse is done in small increments of 92 per
> hop. This is within a block like so:
>
>
> self when: #morphicStep evaluate: [ :delta | <movement> ].
>
> self startSteppingStepTime: step.
>
> How can the breakpoint be set in this block for gdb? We need source for
> some C module.
>

With gdb you can't debug at the Smalltalk level (that's what alt-. is for).
You can only attach to the process, break into it and figure out what's
going on. Which may be very hard. Also, you may have to compile your own VM
with debug info (or do we have pre-built ones somewhrere?)

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170130/cb5754d7/attachment-0001.html>


More information about the Vm-dev mailing list