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
524604fe
Commit
524604fe
authored
Sep 29, 2009
by
hjk
Browse files
debugger: always try to set the location marker early
Gives a smoother impression.
parent
cd190875
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
524604fe
...
...
@@ -1286,10 +1286,10 @@ void GdbEngine::handleStop2(const GdbMi &data)
}
}
//
FIXME: Hack, remove as soon as we get real stack traces.
if
(
m_gdbAdapter
->
isTrkAdapter
())
{
//
Quick shot
if
(
fullName
.
isValid
())
{
StackFrame
f
;
f
.
file
=
Q
String
::
fromLocal8Bit
(
fullName
.
data
());
f
.
file
=
Q
File
::
decodeName
(
fullName
.
data
());
f
.
line
=
frame
.
findChild
(
"line"
).
data
().
toInt
();
f
.
address
=
_
(
frame
.
findChild
(
"addr"
).
data
());
gotoLocation
(
f
,
true
);
...
...
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