[Glass] restart method in topaz
James Foster
Smalltalk at JGFoster.net
Wed Aug 21 07:33:06 PDT 2024
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
>
> <http://za.linkedin.com/in/waltherbehrens>www.finworks.biz <http://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/e00e6eea/attachment.htm>
More information about the Glass
mailing list