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
acdae43a
Commit
acdae43a
authored
Nov 22, 2010
by
hjk
Browse files
debugger: split an assert
Always nice to know which part failed.
parent
c35672ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/watchhandler.cpp
View file @
acdae43a
...
...
@@ -1331,7 +1331,8 @@ QByteArray WatchHandler::watcherName(const QByteArray &exp)
void
WatchHandler
::
watchExpression
(
const
QString
&
exp
)
{
QTC_ASSERT
(
m_engine
&&
(
m_engine
->
debuggerCapabilities
()
&
AddWatcherCapability
),
return
;
);
QTC_ASSERT
(
m_engine
,
return
);
QTC_ASSERT
(
m_engine
->
debuggerCapabilities
()
&
AddWatcherCapability
,
return
);
// Do not insert multiple placeholders.
if
(
exp
.
isEmpty
()
&&
m_watcherNames
.
contains
(
QByteArray
()))
return
;
...
...
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