How Your Program Works
Published Jan 21 2021 07:15 PM 6,249 Views
Iron Contributor

Would you like to learn how your program works?  You can learn it with Small Basic Online.

 

Small Basic Online has new Debug feature.  You can run your program step by step.  And you can see values of variables and call stack.

 

Debug.png

Steps to see how your program runs:

  1. Type your program in Small Basic Online editor.
  2. Push [Debug] button.
  3. Push [Memory] icon to see variables and call stack.
  4. Push [Next Line] button to advance one step in your program.

If you'd like to set break point, insert Program.Pause() command in the editor.  Then use [Continue] button to run till the break point.

 

Have Fun with Debug!

4 Comments
Steel Contributor

How widely is Small Basic used in education? It looks good though. The debugging facility will help learners figure out what is really happening.

Iron Contributor

Hi @Marius Pretorius, I'm not sure how widely is Small Basic used in education.  But Facebook group Small Basic Enthusiasts has 1343 members and still growing.  Thanks.

Copper Contributor

Hi ,

Will debug and run step by step features be in new version of small basic IDE ?

Thanks,

Iron Contributor

Hi @izzetilhan, there is a plan 'Small Basic 2' which will have both SBO (Small Basic Online) and SBD (Small Basic Desktop).  See more details in NEW UPDATES: Small Basic Website 2.2 & Small Basic Online 1.0.  Thanks.

Version history
Last update:
‎Jan 21 2021 07:15 PM
Updated by: