Post Reply 
33c gsb debugging
04-28-2017, 01:21 AM
Post: #1
33c gsb debugging
I tired to debug program on 33c (np25 actually) by stepping through.
When I sst over GSB instruction it goes into calculation mode and executes entire subroutine until rtn. Is there a trick way to stay in operation mode so I can step-by-step the contents of subroutine as well?
Find all posts by this user
Quote this message in a reply
04-28-2017, 07:54 AM (This post was last modified: 04-28-2017 07:54 AM by PANAMATIK.)
Post: #2
RE: 33c gsb debugging
(04-28-2017 01:21 AM)nsg Wrote:  I tired to debug program on 33c (np25 actually) by stepping through.
When I sst over GSB instruction it goes into calculation mode and executes entire subroutine until rtn. Is there a trick way to stay in operation mode so I can step-by-step the contents of subroutine as well?

Press SST twice very fast if you encounter a GSB instruction.This will stop inside the subroutine. Two or three instructions are executed though. You could add a PAUSE instruction as first subroutine step and replace it by NOP after debugging.

Bernhard

That's one small step for a man - one giant leap for mankind.
Find all posts by this user
Quote this message in a reply
04-28-2017, 09:59 PM
Post: #3
RE: 33c gsb debugging
(04-28-2017 07:54 AM)PANAMATIK Wrote:  Press SST twice very fast if you encounter a GSB instruction.

Thanks for all good suggestions. It looks like i did not miss anything obvious and there is no way to actually step into the sub.

What other calculators have this? 65? 67? 55? 34c?
Find all posts by this user
Quote this message in a reply
05-01-2017, 08:29 AM
Post: #4
RE: 33c gsb debugging
(04-28-2017 09:59 PM)nsg Wrote:  Thanks for all good suggestions. It looks like i did not miss anything obvious and there is no way to actually step into the sub.

Pressing SST twice (as fast as a double-click) works quite well.

(04-28-2017 09:59 PM)nsg Wrote:  What other calculators have this? 65? 67? 55? 34c?

The 67, 19C and 29C behave the same. On the other hand the 34C and 41C step through every single instruction. Both methods have their benefits, and I wish there was a way to use either one. Sometimes tracing every step in a subroutines is helpful, while on other occasions running through the complete routine is more convenient. The debuggers of all PC-based programming environments I know of allow both methods.

I wonder why the 33C and 34C obviously behave differently in this regard although they both belong to the same Spice series.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)