DBg: Disassembler, don't request with outdated address

git-svn-id: trunk@28272 -
This commit is contained in:
martin 2010-11-16 15:26:45 +00:00
parent 1688a1e6a8
commit 4642d7c179

View File

@ -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;