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
7a2fc356
Commit
7a2fc356
authored
Feb 02, 2011
by
hjk
Browse files
debugger: fix breakpoint markers in disassembler view
Task-number: QTCREATORBUG-3667
parent
7296cd0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/breakhandler.cpp
View file @
7a2fc356
...
...
@@ -189,7 +189,7 @@ BreakpointId BreakHandler::findBreakpointByAddress(quint64 address) const
{
ConstIterator
it
=
m_storage
.
constBegin
(),
et
=
m_storage
.
constEnd
();
for
(
;
it
!=
et
;
++
it
)
if
(
it
->
data
.
address
==
address
)
if
(
it
->
data
.
address
==
address
||
it
->
response
.
address
==
address
)
return
it
.
key
();
return
BreakpointId
();
}
...
...
src/plugins/debugger/disassembleragent.cpp
View file @
7a2fc356
...
...
@@ -327,7 +327,7 @@ void DisassemblerAgent::updateBreakpointMarkers()
d
->
editor
->
markableInterface
()
->
removeMark
(
marker
);
d
->
breakpointMarks
.
clear
();
foreach
(
BreakpointId
id
,
ids
)
{
const
quint64
address
=
handler
->
address
(
id
)
;
const
quint64
address
=
handler
->
response
(
id
).
address
;
if
(
!
address
)
continue
;
const
int
lineNumber
=
contents
.
lineForAddress
(
address
);
...
...
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