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
d8477a47
Commit
d8477a47
authored
Oct 01, 2009
by
hjk
Browse files
debugger: hot fix for stepping on the same line
parent
8b583a38
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggermanager.cpp
View file @
d8477a47
...
...
@@ -1348,7 +1348,7 @@ void DebuggerManager::jumpToLineExec()
void
DebuggerManager
::
resetLocation
()
{
//
c
onnected to the plugin
//
C
onnected to the plugin
.
emit
resetLocationRequested
();
}
...
...
@@ -1359,14 +1359,8 @@ void DebuggerManager::gotoLocation(const Debugger::Internal::StackFrame &frame,
if
(
setMarker
)
resetLocation
();
}
else
{
static
QString
lastFile
;
static
int
lastLine
;
if
(
frame
.
line
!=
lastLine
||
frame
.
file
!=
lastFile
)
{
lastLine
=
frame
.
line
;
lastFile
=
frame
.
file
;
// Connected to the plugin.
emit
gotoLocationRequested
(
lastFile
,
lastLine
,
setMarker
);
}
// Connected to the plugin.
emit
gotoLocationRequested
(
frame
.
file
,
frame
.
line
,
setMarker
);
}
}
...
...
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