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
Tobias Hunger
qt-creator
Commits
38537d86
Commit
38537d86
authored
Dec 14, 2010
by
hjk
Browse files
debugger: changing breakpoint data in 'new' should not trigger an engine update
parent
ea5d923f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/breakhandler.cpp
View file @
38537d86
...
...
@@ -534,8 +534,10 @@ void BreakHandler::setter(BreakpointId id, const type &value) \
if (it->data.getter == value) \
return; \
it->data.getter = value; \
it->state = BreakpointChangeRequested; \
scheduleSynchronization(); \
if (it->state != BreakpointNew) { \
it->state = BreakpointChangeRequested; \
scheduleSynchronization(); \
} \
}
#define PROPERTY(type, getter, setter) \
...
...
@@ -956,7 +958,7 @@ void BreakHandler::setBreakpointData(BreakpointId id, const BreakpointParameters
if
(
data
==
it
->
data
)
return
;
it
->
data
=
data
;
if
(
it
->
needsChange
())
{
if
(
it
->
needsChange
()
&&
it
->
state
!=
BreakpointNew
)
{
setState
(
id
,
BreakpointChangeRequested
);
scheduleSynchronization
();
}
else
{
...
...
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