How to debug fix_style in LAMMPS

Sir,

I am a new user to LAMMPS, and would like to know how to debug one of the fix_style .cpp files inside this big project. I have tried using gdb to step through the executable(lmp_fedora), but the program ends without reaching the file that I want to debug. I am suspecting that I need to change things in makefile.fedora, but is not sure if that's correct. So I am wondering if you could enlighten me on how to solve this issue.

Many thanks,

David

Sir,

I am a new user to LAMMPS, and would like to know how to debug one of
the fix_style .cpp files inside this big project. I have tried using gdb
to step through the executable(lmp_fedora), but the program ends without
reaching the file that I want to debug. I am suspecting that I need to
change things in makefile.fedora, but is not sure if that's correct. So
I am wondering if you could enlighten me on how to solve this issue.

there is nothing special about debugging LAMMPS. it is a software like
many others.
i am using gdb very frequently to debug LAMMPS and there is nothing
special that needs to be done.

axel.