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
84a43310
Commit
84a43310
authored
Apr 14, 2009
by
hjk
Browse files
debugger: use break-insert -f to insert pending breakpoints
parent
894ee04e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdbengine.cpp
View file @
84a43310
...
...
@@ -1943,7 +1943,10 @@ void GdbEngine::breakpointDataFromOutput(BreakpointData *data, const GdbMi &bkpt
if
(
pos
>
0
)
{
data
->
bpLineNumber
=
child
.
data
().
mid
(
pos
+
1
);
data
->
markerLineNumber
=
child
.
data
().
mid
(
pos
+
1
).
toInt
();
files
.
prepend
(
child
.
data
().
left
(
pos
));
QString
file
=
child
.
data
().
left
(
pos
);
if
(
file
.
startsWith
(
'"'
)
&&
file
.
endsWith
(
'"'
))
file
=
file
.
mid
(
1
,
file
.
size
()
-
2
);
files
.
prepend
(
file
);
}
else
{
files
.
prepend
(
child
.
data
());
}
...
...
@@ -1991,7 +1994,7 @@ void GdbEngine::sendInsertBreakpoint(int index)
// set up fallback in case of pending breakpoints which aren't handled
// by the MI interface
#ifdef Q_OS_LINUX
QString
cmd
=
"-break-insert "
;
QString
cmd
=
"-break-insert
-f
"
;
//if (!data->condition.isEmpty())
// cmd += "-c " + data->condition + " ";
cmd
+=
where
;
...
...
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