debugger: Engine decides now if a StackFrame is considered usable

This commit is contained in:
Arvid Ephraim Picciani
2010-12-01 15:57:13 +01:00
parent 0ab67db58e
commit b84ce82e07
5 changed files with 7 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ namespace Internal {
////////////////////////////////////////////////////////////////////////
StackFrame::StackFrame()
: level(-1), line(-1), address(0)
: level(-1), line(-1), address(0), usable(false)
{}
void StackFrame::clear()
@@ -60,7 +60,7 @@ void StackFrame::clear()
bool StackFrame::isUsable() const
{
return !file.isEmpty() && QFileInfo(file).isReadable();
return usable;
}
QString StackFrame::toString() const