KMCLib icon indicating copy to clipboard operation
KMCLib copied to clipboard

Add more compiler options for debug.

Open PytLab opened this issue 9 years ago • 0 comments

Hi, leetma:

I think it is better to add -fkeep-inline-function compiler option to generate a callable version of inline functions for debug inline functions with gdb, or it will keep showing Cannot evaluate function -- may be inlined when debugging inline functions like printing some variables with inlined query functions.

referenc: http://stackoverflow.com/questions/22029834/possible-to-call-inline-functions-in-gdb-and-or-emit-them-using-gcc

Thanks, ShaoZhengjiang

PytLab avatar Oct 19 '16 13:10 PytLab