Is this a possible bug of Codelite?

General questions regarding the usage of CodeLite
jiapei100
CodeLite Expert
Posts: 115
Joined: Wed Dec 30, 2009 8:29 am
Genuine User: Yes
IDE Question: C++
Location: Surrey, BC, Canada
Contact:

Is this a possible bug of Codelite?

Post by jiapei100 »

Hi, Eran:

I happened to come across this situation in Codelite 2.5.0.4031 .
The problematic code segment looks like:

Code: Select all

if(...)
{
...
		if(this->m_labelFileNames.size() > 0)
		{
                        ...
			this->m_bIsObjectSquareLoaded = true;
			if(this->m_bIsFaceShapeInfoLoaded)
			{
				this->loadFaceComponents(false);
			}
		}
		else
			this->m_bIsObjectSquareLoaded = false;
	}
}
During the processing of debugging,
I can ensure that m_bIsFaceShapeInfoLoaded equals to false, which means the following line

Code: Select all

this->loadFaceComponents(false);
will never be able to entered.

However, after I set up a breakpoint at line

Code: Select all

if(this->m_bIsFaceShapeInfoLoaded)
and then, I pressed "F10",
the arrow pointed to this line out of my expectation.

A video "codelitebug.ogv" is uploaded for your review at
http://www.visionopen.com/codelitebug.ogv
Looking forward to get your answer to my problem soon.

Best Regards
JIA
Welcome to Vision Open
http://www.visionopen.com
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Is this a possible bug of Codelite?

Post by eranif »

codelite is not a debugger nor compiler.
so the problem is probably somewhere in your code

Try to do a rebuild of the workspace and see if it helps.
If not, then you should revise your code to find the problem
Eran
Make sure you have read the HOW TO POST thread
Post Reply