Build before debug does not handle custom builds correctly

Discussion about CodeLite development process and patches
batt
CodeLite Curious
Posts: 7
Joined: Sat Dec 06, 2008 3:14 am
Contact:

Build before debug does not handle custom builds correctly

Post by batt »

First of all let me say that CodeLite is the best IDE I've ever seen! I usually develop in Linux on embedded platforms; I tried KDevelop and then Code::Blocks but today I discovered CodeLite and I think that will use it forever.

However I found a little bug: If you try to start a debug session with the "Build before debug" dialog option active, CodeLite try to issue a normal build even if the project is set to use a custom makefile.
Here attached is a patch that fix the problem.
Hope that will be integrated in SVN repository.

Keep up the good work!

Francesco Sacchi
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Build before debug does not handle custom builds correctly

Post by eranif »

batt wrote:First of all let me say that CodeLite is the best IDE I've ever seen! I usually develop in Linux on embedded platforms; I tried KDevelop and then Code::Blocks but today I discovered CodeLite and I think that will use it forever.
Thank you for the kind words
batt wrote:However I found a little bug: If you try to start a debug session with the "Build before debug" dialog option active, CodeLite try to issue a normal build even if the project is set to use a custom makefile.
Here attached is a patch that fix the problem.
Hope that will be integrated in SVN repository.
Indeed a bug :)

I committed your patch into the SVN trunk.

Eran
Make sure you have read the HOW TO POST thread
Post Reply