50g group photo

Yahoo Groups archive

50g

Index last updated: 2026-03-30 17:23 UTC

Message

Re: [HP-50g_group] program debuging

2007-03-06 by Jeremy Hawdon

--- In 50g@yahoogroups.com, "Gordon Ayres" <gordon.ayres@...> wrote:
>
> I have been tying to understand how to use Debug4X but I am having
> trouble with my mind grasping all that is going on there.
>
> I remember some debugging tools built into one of the old HP
> calculators that allowed you to step thru a program and see what
> happens to the stack as you step through it word by word. is something
> like that available on the 50G?
>
> any help apreciated.
>
> Best regards
> gordon
>

The commands you need can be found in the run menu, the last option in
the prg menu. Put the input data and the program on the stack and press
DBUG. You can then single step through the program using SST or SST
(down arrow). The latter will also single step through any program
called by the first. For a long program an alternative is to insert a
HALT in the program where you think the problem might be. Having
examined the stack at this point you can then KILL of CONT (rightshift
on).

Hope this is helful

Jeremy Hawdon

Attachments