mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 07:16:30 +02:00
DebuggerIntf: Refactor, evaluate now takes a callback
git-svn-id: trunk@58240 -
This commit is contained in:
parent
bf1893d093
commit
6362172d02
@ -1497,7 +1497,7 @@ begin
|
||||
sleep(5);
|
||||
Application.ProcessMessages;
|
||||
until (ASendCommand.Validity<>ddsRequested) or ((GetTickCount64-tc)>2000);
|
||||
ACallback(Self, True, ASendCommand.Message, nil);
|
||||
TDBGEvaluateResultCallback(ACallback)(Self, True, ASendCommand.Message, nil);
|
||||
Result := True;
|
||||
ASendCommand.Free;
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user