Single stepping stack inspection

Oforth is a new language and is evolving. If you have any suggestions about syntax, behaviour, new fonctionalities,.. it's here.

Single stepping stack inspection

Postby bobgillies » 07 Feb 2017 20:03

Is there a way to display the stack while single stepping through section of code or a way to place break points to invoke a single step debugger?
bobgillies
 
Posts: 60
Joined: 24 Jan 2017 06:26

Re: Single stepping stack inspection

Postby Franck » 07 Feb 2017 21:53

There was a word .bp to define break points into previous versions.
The program stopped at break points and you could check the stack, advance word by word, go into a word or rerun the code until the next break point.

But I removed it. It was not used so much and complicated the code.
If you think that there is a need for it, I can bring it back in the next version...

Franck
Franck
 
Posts: 140
Joined: 29 Oct 2014 19:01

Re: Single stepping stack inspection

Postby bobgillies » 07 Feb 2017 22:40

Maybe if enough people wish for it. Then again I wouldn't want to justify making code more complicated. Perhaps I should just practice the use of a more fine grained logic although I can see a need for it when using hand coded assembly. And hand coded assembly is just not my thing at the moment. If I ever get to the point of polling the GPIO of some Internet of Things device then maybe it would be nice. And that's a long way down the road for me. ;)
bobgillies
 
Posts: 60
Joined: 24 Jan 2017 06:26


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron