Skip to Content
GuidesCustomizing KliveThe advanced debugging switch

The advanced debugging switch

Klive’s advanced debugging features are turned on by default. They are:

The switch also turns on the profiler and unit tests.

With the features on, the Debug menu has the reverse-stepping commands, Execution History, Export Execution History…, Code Coverage, Reset Coverage and the debug-recording commands, and the memory view has its Heat selector. The toolbars have the Step Back, Step Forward and Return to Present buttons. The keyboard shortcuts, the history commands (show-history, step-back, history-export, debug-recording-load, coverage and the rest) and the Reverse debugging and Coverage and profiling settings groups work too.

To turn them off, clear Settings › Debugging › Advanced debugging, then restart Klive. Until you restart, the setting’s help text says the change is waiting. You can also run this command in the IDE’s command prompt and restart:

set -u features.advancedDebugging 0

While the features are off, Klive does not record the execution history or keep a reverse-debugging timeline, so a debug session costs nothing extra. Turn the switch back on in the Settings dialog, or with the command that the history commands and opening a .klr file show:

set -u features.advancedDebugging 1

Either way, restart Klive after changing the setting.

Last updated on