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
33bae0d7
Commit
33bae0d7
authored
Nov 15, 2010
by
Friedemann Kleint
Browse files
Debugger: Suppress fetching of modules/registers in invalid states.
Reviewed-by: hjk
parent
e2ec9b03
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
33bae0d7
...
...
@@ -905,19 +905,19 @@ public slots:
void
sourceFilesDockToggled
(
bool
on
)
{
if
(
on
)
if
(
on
&&
m_currentEngine
->
state
()
==
InferiorStopOk
)
m_currentEngine
->
reloadSourceFiles
();
}
void
modulesDockToggled
(
bool
on
)
{
if
(
on
)
if
(
on
&&
m_currentEngine
->
state
()
==
InferiorStopOk
)
m_currentEngine
->
reloadModules
();
}
void
registerDockToggled
(
bool
on
)
{
if
(
on
)
if
(
on
&&
m_currentEngine
->
state
()
==
InferiorStopOk
)
m_currentEngine
->
reloadRegisters
();
}
...
...
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