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
9235e936
Commit
9235e936
authored
Nov 17, 2010
by
Friedemann Kleint
Browse files
Debugger: Compile CDB
parent
a666c48c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/cdb/cdbengine.cpp
View file @
9235e936
...
...
@@ -1315,10 +1315,10 @@ bool CdbEngine::attemptBreakpointSynchronizationI(QString *errorMessage)
case
BreakpointInsertRequested
:
handler
->
setState
(
id
,
BreakpointInsertProceeding
);
if
(
addCdbBreakpoint
(
control
,
symbols
,
data
,
&
response
,
errorMessage
))
{
notifyBreakpointInsertOk
(
id
);
handler
->
notifyBreakpointInsertOk
(
id
);
handler
->
setResponse
(
id
,
response
);
}
else
{
notifyBreakpointInsertOk
(
id
);
handler
->
notifyBreakpointInsertOk
(
id
);
showMessage
(
*
errorMessage
,
LogError
);
}
break
;
...
...
@@ -1327,21 +1327,20 @@ bool CdbEngine::attemptBreakpointSynchronizationI(QString *errorMessage)
handler
->
setState
(
id
,
BreakpointChangeProceeding
);
if
(
data
.
enabled
)
{
if
(
addCdbBreakpoint
(
control
,
symbols
,
data
,
&
response
,
errorMessage
))
{
notifyBreakpointChangeOk
(
id
);
handler
->
notifyBreakpointChangeOk
(
id
);
handler
->
setResponse
(
id
,
response
);
}
else
{
notifyBreakpointChangeFailed
(
id
);
handler
->
notifyBreakpointChangeFailed
(
id
);
showMessage
(
*
errorMessage
,
LogError
);
}
}
else
{
notifyBreakpointChangeOk
(
id
);
handler
->
notifyBreakpointChangeOk
(
id
);
}
break
;
case
BreakpointRemoveRequested
:
notifyBreakpointRemoveOk
(
id
);
handler
->
notifyBreakpointRemoveOk
(
id
);
break
;
case
BreakpointInserted
:
case
BreakpointPending
:
// Existing breakpoints were deleted due to change/removal, re-set
if
(
syncType
==
BreakpointsRemovedChanged
&&
!
addCdbBreakpoint
(
control
,
symbols
,
handler
->
breakpointData
(
id
),
&
response
,
errorMessage
))
...
...
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