Saving and loading debug configuration
The savecfg
and loadcfg
commands can be used to save
your debug session and reload it during a subsequent debug session.
The
savecfg
command saves all the probe point definitions in your debug session
to a file. The file can be used to reestablish your probe points in a subsequent debug
session.(sdb) savecfg
Wrote 3 probe point definitions to file ./data/default_debug.cfg
(sdb)
The
loadcfg
command loads the saved probe point definitions from the file that
is created by savecfg
.(sdb) loadcfg
Set + 0 Breakpoint CountAllLines i 0 stopped:false
Set + 1 Breakpoint CountAllLines o 0 stopped:false
Set + 2 Tracepoint CountOneLine o 0 cached:0/25
traced:0 in 00 secs
(sdb)