Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
6295208a
Commit
6295208a
authored
Sep 23, 2010
by
hjk
Browse files
debugger: allow starting and continuing only in defined states
parent
6d353996
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
6295208a
...
...
@@ -2275,7 +2275,10 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
const
bool
starting
=
m_state
==
EngineSetupRequested
;
m_startExternalAction
->
setEnabled
(
!
started
&&
!
starting
);
const
bool
canStartOrContinue
=
m_state
==
DebuggerNotReady
||
m_state
==
InferiorStopOk
;
m_startExternalAction
->
setEnabled
(
canStartOrContinue
);
m_attachExternalAction
->
setEnabled
(
true
);
#ifdef Q_OS_WIN
m_attachCoreAction
->
setEnabled
(
false
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment