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
cb4e6804
Commit
cb4e6804
authored
Nov 16, 2010
by
hjk
Browse files
debugger: add a few permitted breakpoint state transitions
parent
fd8bf48b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/breakhandler.cpp
View file @
cb4e6804
...
...
@@ -578,13 +578,15 @@ static bool isAllowedTransition(BreakpointState from, BreakpointState to)
||
to
==
BreakpointPending
||
to
==
BreakpointDead
;
case
BreakpointPending
:
return
false
;
return
to
==
BreakpointChangeRequested
||
to
==
BreakpointRemoveRequested
;
case
BreakpointInserted
:
return
false
;
return
to
==
BreakpointChangeRequested
||
to
==
BreakpointRemoveRequested
;
case
BreakpointRemoveRequested
:
return
false
;
return
to
==
BreakpointRemoveProceeding
;
case
BreakpointRemoveProceeding
:
return
false
;
return
to
==
BreakpointDead
;
case
BreakpointDead
:
return
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