The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Synopsis:

set timer [on|off]

Tracks and shows elapsed time between debugger events. If "on" or "off" is not given, "on" is assumed.

Since debugger overhead can be large depending on what you are doing, there are many ways to customize the debugger to take less time (and do less).

Stepping is slow, running to a breakpoint without stepping is relatively fast compared to previous versions of the debugger and compared to stepping.

Stopping at fewer events can also speed things up. Trace event buffering slows things down.

Buy turning this setting on, you may be able to get a feel for what how expensive the various settings.

See also:

set events, set trace buffer, step, and break,