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
b0640b9a
Commit
b0640b9a
authored
Dec 04, 2009
by
hjk
Browse files
debugger: fix crash when adding a watcher to a non-running "synchroneous" engine.
parent
f2842d07
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/watchhandler.cpp
View file @
b0640b9a
...
...
@@ -1181,7 +1181,8 @@ void WatchHandler::insertData(const WatchData &data)
}
if
(
data
.
isSomethingNeeded
()
&&
data
.
iname
.
contains
(
'.'
))
{
MODEL_DEBUG
(
"SOMETHING NEEDED: "
<<
data
.
toString
());
if
(
!
m_manager
->
currentEngine
()
->
isSynchroneous
())
{
IDebuggerEngine
*
engine
=
m_manager
->
currentEngine
();
if
(
engine
&&
!
engine
->
isSynchroneous
())
{
m_manager
->
updateWatchData
(
data
);
}
else
{
qDebug
()
<<
"ENDLESS LOOP: SOMETHING NEEDED: "
<<
data
.
toString
();
...
...
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