Skip to content
Snippets Groups Projects
Commit c6db3543 authored by hjk's avatar hjk
Browse files

debugger: disable reverse debugging for 1.2 as Gui is unfinished

parent 5892ea1b
No related branches found
No related tags found
No related merge requests found
...@@ -291,6 +291,10 @@ QWidget *CommonOptionsPage::createPage(QWidget *parent) ...@@ -291,6 +291,10 @@ QWidget *CommonOptionsPage::createPage(QWidget *parent)
m_group.insert(theDebuggerAction(MaximalStackDepth), m_group.insert(theDebuggerAction(MaximalStackDepth),
m_ui.spinBoxMaximalStackDepth); m_ui.spinBoxMaximalStackDepth);
#ifdef USE_REVERSE_DEBUGGING
m_ui.checkBoxEnableReverseDebugging->hide();
#endif
return w; return w;
} }
...@@ -682,10 +686,12 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess ...@@ -682,10 +686,12 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
Constants::JUMP_TO_LINE, debuggercontext); Constants::JUMP_TO_LINE, debuggercontext);
mdebug->addAction(cmd); mdebug->addAction(cmd);
#ifdef USE_REVERSE_DEBUGGING
cmd = am->registerAction(m_manager->m_reverseDirectionAction, cmd = am->registerAction(m_manager->m_reverseDirectionAction,
Constants::REVERSE, debuggercontext); Constants::REVERSE, debuggercontext);
cmd->setDefaultKeySequence(QKeySequence(Constants::REVERSE_KEY)); cmd->setDefaultKeySequence(QKeySequence(Constants::REVERSE_KEY));
mdebug->addAction(cmd); mdebug->addAction(cmd);
#endif
sep = new QAction(this); sep = new QAction(this);
sep->setSeparator(true); sep->setSeparator(true);
...@@ -831,8 +837,10 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess ...@@ -831,8 +837,10 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
debugToolBar->addSeparator(); debugToolBar->addSeparator();
debugToolBar->addAction(am->command(Constants::STEPI)->action()); debugToolBar->addAction(am->command(Constants::STEPI)->action());
debugToolBar->addAction(am->command(Constants::NEXTI)->action()); debugToolBar->addAction(am->command(Constants::NEXTI)->action());
#ifdef USE_REVERSE_DEBUGGING
debugToolBar->addSeparator(); debugToolBar->addSeparator();
debugToolBar->addAction(am->command(Constants::REVERSE)->action()); debugToolBar->addAction(am->command(Constants::REVERSE)->action());
#endif
debugToolBar->addSeparator(); debugToolBar->addSeparator();
debugToolBar->addWidget(new QLabel(tr("Threads:"))); debugToolBar->addWidget(new QLabel(tr("Threads:")));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment