Eclipse and Lammps [message #1301610] |
Fri, 18 April 2014 07:38 |
Daniele S. Messages: 1 Registered: April 2014 |
Junior Member |
|
|
Dear Forum,
I want to use Eclipse to debug new features that I am implementing in LAMMPS.
The problem is that Eclipse does NOT stop at breakpoints
(and it does not allow me to see the value of the variables).
I have been able to
1) compile it (with -DDEBUG -g option in the Makefile) in Eclipse
2) to let it read from input file (by using Argument in Eclipse)
I tried to use gdb from shell to fix a breakpoint and it works fine.
But Eclipse simply doesn't stop.
I am running the executable in the same folder as the source file.
While debugging in the gdb errors I just get:
"The target endianness is set automatically (currently little endian)"
and nothing else,
suggesting that the files analyzed are the correct ones.
The executable in "Executables" is the precisely the one I want to use.
I have looked around in several websites but the solutions proposed did not work for me.
Simpler cpp codes do stop on breakpoints in Eclipse.
Any suggestion on what else to consider would be very much appreciated.
I am using Kepler Service Release 2
Thank you
Bests,
Daniele
|
|
|
Powered by
FUDForum. Page generated in 0.03113 seconds