Debugging LiCoRICE
Debug Flag
Run LiCoRIce with the –debug flag:
licorice go <model> --debug
Debugging Segmentation Faults:
Passing the –debug flag causes spin in exit handler (only async source for now)
Get the faulted process ID:
PID=`ps ax | grep <proc-name> grep -v grep | awk '{print $1}'`
and use gdb to find location of seg fault
sudo gdb /proc/$PID/exe $PID
(gdb) c
(gdb) where