Skip to main content

JS Debugger

JS Debugger blocks provide debugging tools and JavaScript integration capabilities.

Overview​

JS Debugger blocks enable you to test, debug, and troubleshoot your StarLogo Nova simulations. These blocks provide powerful tools for inspecting values, validating conditions, setting breakpoints, and outputting information to the JavaScript console for development and debugging purposes.

Block Categories​

Debugging Tools​

  • Breakpoint - Pauses execution for debugging
  • Assert - Tests a condition and stops if false

Type Checking​

Console Output​

Trait Inspection​

  • Trait - Inspects and examines trait properties