Debugging

Use per-brick watches and the runtime debugger instead of temporary Print bricks.

◷ 1 min read Phase 5 enhanced

Per-brick debugging

Use the debug control on a brick to mark that brick for runtime observation. Debug watches are saved in node metadata and are intended to show only the values you deliberately enable.

State debugging

The States panel includes a debug watch control that can show the selected node’s current state in the runtime overlay.

Runtime Debugger

The runtime debugger displays watched brick values and watched state information while the project runs. The addon also includes a Debug menu in the game window for opening the Logic Bricks debugger.

Watched Array variables expand to show the Array size and every item with its current index. For example, an inventory Array might display Array (3 items) followed by [0] "Key", [1] "Potion", and [2] 25. This works for both local and global Array variables.

Watch Arrays while testing list logic Enable the bug button beside an Array variable when testing Add Item, Remove Item, Remove At Index, or Set Item At Index. The indexed debug display makes it easy to verify both the contents and their positions.
Runtime Debugger screenshot placeholder