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
828b1f96
Commit
828b1f96
authored
Oct 01, 2009
by
hjk
Browse files
debugger: better updating of the stack and debugger view location marker
parent
59739162
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggeragents.cpp
View file @
828b1f96
...
...
@@ -201,13 +201,17 @@ DisassemblerViewAgent::~DisassemblerViewAgent()
void
DisassemblerViewAgent
::
cleanup
()
{
d
->
cache
.
clear
();
if
(
d
->
editor
)
d
->
editor
->
markableInterface
()
->
removeMark
(
d
->
locationMark
);
//if (d->editor)
// d->editor->deleteLater();
//d->editor = 0;
}
void
DisassemblerViewAgent
::
resetLocation
()
{
if
(
d
->
editor
)
d
->
editor
->
markableInterface
()
->
removeMark
(
d
->
locationMark
);
}
void
DisassemblerViewAgent
::
setFrame
(
const
StackFrame
&
frame
)
{
d
->
frame
=
frame
;
...
...
src/plugins/debugger/debuggeragents.h
View file @
828b1f96
...
...
@@ -83,6 +83,7 @@ public:
~
DisassemblerViewAgent
();
void
setFrame
(
const
StackFrame
&
frame
);
void
resetLocation
();
Q_SLOT
void
setContents
(
const
QString
&
contents
);
QString
address
()
const
;
void
cleanup
();
...
...
src/plugins/debugger/debuggermanager.cpp
View file @
828b1f96
...
...
@@ -1348,6 +1348,8 @@ void DebuggerManager::jumpToLineExec()
void
DebuggerManager
::
resetLocation
()
{
d
->
m_disassemblerViewAgent
.
resetLocation
();
d
->
m_stackHandler
->
setCurrentIndex
(
-
1
);
// Connected to the plugin.
emit
resetLocationRequested
();
}
...
...
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