← Back to team overview

yade-users team mailing list archive

[Question #625432]: Starting debug session from inside kdevelop

 

New question #625432 on Yade:
https://answers.launchpad.net/yade/+question/625432

Hello YADE users,

Currently, I'm working with modifying and implementing a new constitutive model into YADE. What I have done so far is that:
1. Compile and install YADE from source code (Yade-2017.01a) with debug ON;
2. Install Kdevelop 4.7.3
3. Assume that I want to modify the concrete particle model existing in YADE (concretePM.cpp and concretePM.hpp) then  I re-compile it. How can I debug my C++ code?

I followed the instruction in [1] by:
 1) preparing an python script to test the concrete constitutive model by using two spheres. 
 2) In EXECUTABLE section i chose the path to installed YADE;
 3) in ARGUMENTS I chose the path to python script;

And it runs but just for debugging the python script, but what I want is to debug my modified .cpp and .hpp file.

Could any one could help me to solve the problem and if possible pls explain it to me in more detail 'cause I'm just a beginner in coding.

Thanks in advance
Regards,
Mike


[1] https://yade-dem.org/wiki/Debugging_using_Kdevelop



-- 
You received this question notification because your team yade-users is
an answer contact for Yade.