The advanced debugging switch
Klive’s advanced debugging features are turned on by default. They are:
- the Execution History, with lite step back and trace export;
- reverse debugging: Step Back and Forward, Reverse Step Over and Out, Reverse Continue, and Take over here;
- debug recordings (
.klrfiles); - code coverage and the memory heat map.
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 0While 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 1Either way, restart Klive after changing the setting.
Related
- Settings: the Debugging page
- Reverse debugging
- How reverse debugging works