Page 1 of 1

Is this a possible bug of Codelite?

Posted: Sun Apr 25, 2010 1:34 pm
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

Re: Is this a possible bug of Codelite?

Posted: Sun Apr 25, 2010 2:50 pm
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