Hi
I need to debug the issue I am facing at the moment. So I want to run the program with GDB. I could run it with gdb but no debug information/symbol is present in the current installed form.
So I guess I need to recompile the mri_aparc2aseg program with in debug mode. Can you please help me in that? What is the easiest way to recompile with the debug symbols so that I can put a breakpoint in GDB?
Also, if there any option to activate more logs/log levels?
Thanks a lot for your help. Much appreciated.
Regards, Sarbani
Hi Sarbani
if you have the source and build environment setup you can do a global replace of "-O3" with "-O0" in the Makefile in both utils and mri_aparc2aseg directories, then rebuild both
cheers Bruce On Fri, 28 Apr 2017, Das S. wrote:
Hi
I need to debug the issue I am facing at the moment. So I want to run the program with GDB. I could run it with gdb but no debug information/symbol is present in the current installed form.
So I guess I need to recompile the mri_aparc2aseg program with in debug mode. Can you please help me in that? What is the easiest way to recompile with the debug symbols so that I can put a breakpoint in GDB?
Also, if there any option to activate more logs/log levels?
Thanks a lot for your help. Much appreciated.
Regards, Sarbani
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu