50g group photo

Yahoo Groups archive

50g

Archive for 50g.

Index last updated: 2026-03-30 00:59 UTC

Thread

[HP-50g_group] program debuging

[HP-50g_group] program debuging

2007-03-05 by Gordon Ayres

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

Re: [50g] [HP-50g_group] program debuging

2007-03-05 by Don Hart

Not sure about the 50g but I bet it's the same as the
49g. On 49g (and 48g) you can debug user rpl progs by
hitting the "prg" key then the "run" directory. I
don't know if the manuals for the 50g (or even the
49g) say anything about it. You may have to read the
one for the 48g.

--- 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
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Great things are happening at Yahoo! Groups. See
> the new email design.
>
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/26EolB/TM
>
--------------------------------------------------------------------~->
>
>
>
> Yahoo! Groups Links
>
>
>
>
>




____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

Re: [50g] [HP-50g_group] program debuging

2007-03-06 by Nancy Von Essen

Yep!  Hi Gordon  This is Ed Von Essen .  You bet you can step thru your programs line by line and see the results on the stack. Here's the place to start.  In your User's Guide (and you did load this in from the CD, I hope)  you will find Programming in Chapters 21 and 22.  To help, the index is appendix N.  Follow the debugging examples.  It's saved my skin a few times more than I'd like to think.  Just remember, The 49g's and 50g are STACK machines.  Best of luck and if you have any further questions, ask.    Best regards to you too   Ed

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


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

Re: [HP-50g_group] program debuging

2007-03-06 by Gordon Ayres

Thanks to all that help me on this issue. I had printed the manual and
have been reading it between working and it is a lot that this
calculator can do. Therre is so much to read and experiment on.

Best Regards
Gordon

--- 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
>