forked from qt-creator/qt-creator
		
	Debugger: Enable stack frames without an annotated function
E.g. breakpoints on QML bindings do not have an annotated function. Still they're valid stack frames you can click on. Change-Id: I2b9417e6a57b846d74bd5bc661d11027b028c602 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
		@@ -152,7 +152,7 @@ Qt::ItemFlags StackHandler::flags(const QModelIndex &index) const
 | 
			
		||||
    if (index.row() == m_stackFrames.size())
 | 
			
		||||
        return QAbstractTableModel::flags(index);
 | 
			
		||||
    const StackFrame &frame = m_stackFrames.at(index.row());
 | 
			
		||||
    const bool isValid = (frame.isUsable() && !frame.function.isEmpty())
 | 
			
		||||
    const bool isValid = frame.isUsable()
 | 
			
		||||
        || debuggerCore()->boolSetting(OperateByInstruction);
 | 
			
		||||
    return isValid && m_contentsValid
 | 
			
		||||
        ? QAbstractTableModel::flags(index) : Qt::ItemFlags(0);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user