forked from qt-creator/qt-creator
Fixes: debugger: worlk on core file loading
This commit is contained in:
@@ -94,6 +94,7 @@ namespace Constants {
|
||||
|
||||
const char * const STARTEXTERNAL = "Debugger.StartExternal";
|
||||
const char * const ATTACHEXTERNAL = "Debugger.AttachExternal";
|
||||
const char * const ATTACHCORE = "Debugger.AttachCore";
|
||||
|
||||
const char * const RUN_TO_LINE = "Debugger.RunToLine";
|
||||
const char * const RUN_TO_FUNCTION = "Debugger.RunToFunction";
|
||||
@@ -446,6 +447,10 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *error_mes
|
||||
cmd = am->registerAction(m_manager->m_attachExternalAction,
|
||||
Constants::ATTACHEXTERNAL, globalcontext);
|
||||
mdebug->addAction(cmd, Core::Constants::G_DEFAULT_ONE);
|
||||
|
||||
cmd = am->registerAction(m_manager->m_attachCoreAction,
|
||||
Constants::ATTACHCORE, globalcontext);
|
||||
mdebug->addAction(cmd, Core::Constants::G_DEFAULT_ONE);
|
||||
#endif
|
||||
|
||||
cmd = am->registerAction(m_manager->m_continueAction,
|
||||
|
||||
Reference in New Issue
Block a user