Difference between revisions of "Debugging using Kdevelop"

From Yade

 
Line 1: Line 1:
 
[[Category:OldSite]]
 
[[Category:OldSite]]
  +
  +
==Update for Kdevelop 4==
  +
  +
To be completed soon. See this [https://lists.launchpad.net/yade-users/msg03282.html mail].
  +
  +
  +
==Procedure for Kdevelop 3==
   
 
When compiling yade for the first time, please do it from command line, so that a file <tt>scons.config</tt> will contain your compilation settings. After that you can start working using kdevelop. You can run kdevelop with command:
 
When compiling yade for the first time, please do it from command line, so that a file <tt>scons.config</tt> will contain your compilation settings. After that you can start working using kdevelop. You can run kdevelop with command:

Revision as of 15:44, 21 June 2010


Update for Kdevelop 4

To be completed soon. See this mail.


Procedure for Kdevelop 3

When compiling yade for the first time, please do it from command line, so that a file scons.config will contain your compilation settings. After that you can start working using kdevelop. You can run kdevelop with command:

cd yade-0.11.0
kdevelop Yade.kdevelop

Or running it directly from konqueror by clicking on file Yade.kdevelop. When kdvelop starts for the first time it will ask to populate the project. Let it do this:

Kdevelop populate.png

Then you will need to go into project options to configure your paths and set number of processors to be used during compilation (because, unfortunately kdevelop overrides scons jobs setting):

Kdevelop options.png

Kdevelop jobs.png

Kdevelop runpaths.png

Then, after compiling yade you can try running it, and debugging, which should work without problems.

Kdevelop debugging.png