[Glass] restart method in topaz

Otto Behrens otto at finworks.biz
Wed Aug 21 08:08:28 PDT 2024


Thanks James, this helps a lot.

Otto Behrens

+27 82 809 2375
[image: FINWorks]
[image: FINWorks] <http://za.linkedin.com/in/waltherbehrens>
www.finworks.biz

Disclaimer & Confidentiality Note: This email is intended solely for the
use of the individual or entity named above as it may contain information
that is confidential and privileged. If you are not the intended recipient,
be advised that any dissemination, distribution or copying of this email is
strictly prohibited. FINWorks cannot be held liable by any person other
than the addressee in respect of any opinions, conclusions, advice or other
information contained in this email.


On Wed, Aug 21, 2024 at 4:33 PM James Foster <Smalltalk at jgfoster.net> wrote:

> Hi Otto,
>
> The `continue` command (
> https://downloads.gemtalksystems.com/docs/GemStone64/3.7.x/GS64-Topaz-3.7/4-Commands.htm#pgfId-939440)
> resumes execution “on the active call stack”. You can manipulate the stack
> with the `stack` command (
> https://downloads.gemtalksystems.com/docs/GemStone64/3.7.x/GS64-Topaz-3.7/4-Commands.htm#pgfId-924094).
> So you could use `stack down` to get to the beginning of a method and then
> `stack trim` so that this becomes the new top of stack. Note that after a
> trim, “Execution resumes at the first instruction in the method at the new
> top of the stack.” So it appears that you could “trim” to get to the
> beginning of the current method (but I haven’t tried it).
>
> James
>
> On Aug 21, 2024, at 1:42 AM, Otto Behrens via Glass <
> glass at lists.gemtalksystems.com> wrote:
>
> Hi,
>
> Is there a way to restart execution of a method when debugging in topaz?
>
> Kind regards
> Otto Behrens
> +27 82 809 2375
> [image: FINWorks]
> [image: FINWorks] <http://za.linkedin.com/in/waltherbehrens>
> www.finworks.biz
>
> Disclaimer & Confidentiality Note: This email is intended solely for the
> use of the individual or entity named above as it may contain information
> that is confidential and privileged. If you are not the intended recipient,
> be advised that any dissemination, distribution or copying of this email is
> strictly prohibited. FINWorks cannot be held liable by any person other
> than the addressee in respect of any opinions, conclusions, advice or other
> information contained in this email.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20240821/7a9367f3/attachment-0001.htm>


More information about the Glass mailing list