%3CLINGO-SUB%20id%3D%22lingo-sub-2085461%22%20slang%3D%22en-US%22%3EHow%20Your%20Program%20Works%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2085461%22%20slang%3D%22en-US%22%3E%3CP%3EWould%20you%20like%20to%20learn%20how%20your%20program%20works%3F%26nbsp%3B%20You%20can%20learn%20it%20with%20%3CA%20title%3D%22Small%20Basic%20Online%22%20href%3D%22https%3A%2F%2Faka.ms%2FSBOVnext%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ESmall%20Basic%20Online%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESmall%20Basic%20Online%20has%20new%20Debug%20feature.%26nbsp%3B%20You%20can%20run%20your%20program%20step%20by%20step.%26nbsp%3B%20And%20you%20can%20see%20values%20of%20variables%20and%20call%20stack.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Debug.png%22%20style%3D%22width%3A%20859px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F248454iE440EBA6234F3719%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Debug.png%22%20alt%3D%22Debug.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESteps%20to%20see%20how%20your%20program%20runs%3A%3C%2FP%3E%3COL%3E%3CLI%3EType%20your%20program%20in%20Small%20Basic%20Online%20editor.%3C%2FLI%3E%3CLI%3EPush%20%5BDebug%5D%20button.%3C%2FLI%3E%3CLI%3EPush%20%5BMemory%5D%20icon%20to%20see%20variables%20and%20call%20stack.%3C%2FLI%3E%3CLI%3EPush%20%5BNext%20Line%5D%20button%20to%20advance%20one%20step%20in%20your%20program.%3C%2FLI%3E%3C%2FOL%3E%3CP%3EIf%20you'd%20like%20to%20set%20break%20point%2C%20insert%20Program.Pause()%20command%20in%20the%20editor.%26nbsp%3B%20Then%20use%20%5BContinue%5D%20button%20to%20run%20till%20the%20break%20point.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20Fun%20with%20Debug!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2085461%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20learn%20how%20your%20program%20works%20with%20Debug%20mode%20in%20Small%20Basic%20Online.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2099683%22%20slang%3D%22en-US%22%3ERe%3A%20How%20Your%20Program%20Works%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2099683%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164657%22%20target%3D%22_blank%22%3E%40Marius%20Pretorius%3C%2FA%3E%2C%20I'm%20not%20sure%20how%20widely%20is%20Small%20Basic%20used%20in%20education.%26nbsp%3B%20But%20Facebook%20group%20Small%20Basic%20Enthusiasts%20has%201343%20members%20and%20still%20growing.%26nbsp%3B%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Senior Member

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!

2 Comments
Frequent 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.

Senior Member

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.