forked from qt-creator/qt-creator
		
	debugger: basic support for reverse debugging
works only with gbd 7.0 so far.
This commit is contained in:
		@@ -411,6 +411,12 @@ void DebuggerManager::init()
 | 
			
		||||
    m_watchAction = new QAction(this);
 | 
			
		||||
    m_watchAction->setText(tr("Add to Watch Window"));
 | 
			
		||||
 | 
			
		||||
    m_reverseDirectionAction = new QAction(this);
 | 
			
		||||
    m_reverseDirectionAction->setText(tr("Reverse Direction"));
 | 
			
		||||
    m_reverseDirectionAction->setCheckable(true);
 | 
			
		||||
    m_reverseDirectionAction->setChecked(false);
 | 
			
		||||
    //m_reverseDirectionAction->setIcon(QIcon(":/debugger/images/debugger_stepoverproc_small.png"));
 | 
			
		||||
 | 
			
		||||
    // For usuage hints oin focus{In,Out}
 | 
			
		||||
    connect(m_continueAction, SIGNAL(triggered()),
 | 
			
		||||
        this, SLOT(continueExec()));
 | 
			
		||||
@@ -1504,6 +1510,11 @@ void DebuggerManager::reloadFullStack()
 | 
			
		||||
        m_engine->reloadFullStack();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool DebuggerManager::isReverseDebugging() const
 | 
			
		||||
{
 | 
			
		||||
    return m_reverseDirectionAction->isChecked();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
//////////////////////////////////////////////////////////////////////
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user