mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 11:29:29 +02:00
DBg: Disassembler, don't request with outdated address
git-svn-id: trunk@28272 -
This commit is contained in:
parent
1688a1e6a8
commit
4642d7c179
@ -243,10 +243,11 @@ begin
|
||||
then begin
|
||||
// only for F9, not for F8,F7 single stepping with assembler is no good, if it clears all the time
|
||||
//ClearLineMap;
|
||||
FLocation := 0;
|
||||
end
|
||||
else begin
|
||||
// Check if anything is there, update BaseAddr
|
||||
if FDisassembler <> nil
|
||||
if (FDisassembler <> nil) and (FLocation <> 0)
|
||||
then FDisassembler.PrepareRange(FLocation, Max(0, -(FTopLine - 5)), Max(0, FTopLine + FLineCount + 1 + 5));
|
||||
UpdateLineData;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user