Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse and Lammps(C++ help)
Eclipse and Lammps [message #1301610] Fri, 18 April 2014 07:38
Daniele S. is currently offline Daniele S.Friend
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
Previous Topic:Files Opened in the Search View Panel
Next Topic:General Question
Goto Forum:
  


Current Time: Thu Mar 28 23:40:34 GMT 2024

Powered by FUDForum. Page generated in 0.03113 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top