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
9c1c720d
Commit
9c1c720d
authored
Nov 23, 2010
by
hjk
Browse files
debugger: make -thread-select and -stack-select-frame discardable
parent
f2e8a65c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
9c1c720d
...
...
@@ -2873,8 +2873,9 @@ void GdbEngine::selectThread(int index)
Threads
threads
=
threadsHandler
()
->
threads
();
QTC_ASSERT
(
index
<
threads
.
size
(),
return
);
const
int
id
=
threads
.
at
(
index
).
id
;
showStatusMessage
(
tr
(
"Retrieving data for stack view thread 0x%1..."
).
arg
(
id
,
0
,
16
),
10000
);
postCommand
(
"-thread-select "
+
QByteArray
::
number
(
id
),
showStatusMessage
(
tr
(
"Retrieving data for stack view thread 0x%1..."
)
.
arg
(
id
,
0
,
16
),
10000
);
postCommand
(
"-thread-select "
+
QByteArray
::
number
(
id
),
Discardable
,
CB
(
handleStackSelectThread
));
}
...
...
@@ -3027,7 +3028,7 @@ void GdbEngine::activateFrame(int frameIndex)
// after a response to this -stack-select-frame here.
handler
->
setCurrentIndex
(
frameIndex
);
postCommand
(
"-stack-select-frame "
+
QByteArray
::
number
(
frameIndex
),
CB
(
handleStackSelectFrame
));
Discardable
,
CB
(
handleStackSelectFrame
));
gotoLocation
(
stackHandler
()
->
currentFrame
(),
true
);
updateLocals
();
reloadRegisters
();
...
...
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