mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 01:55:56 +02:00
FpDebugger (pure): Avoid usage of TThread.Queue, because it is not available in fpc 2.6.4
git-svn-id: trunk@45879 -
This commit is contained in:
parent
8d3f97d41e
commit
d349c421e3
@ -89,7 +89,7 @@ type
|
||||
function GetDebugInfo: TDbgInfo;
|
||||
procedure DoWatchFreed(Sender: TObject);
|
||||
procedure ProcessASyncWatches(Data: PtrInt);
|
||||
procedure DoLog;
|
||||
procedure DoLog(Data: PtrInt);
|
||||
protected
|
||||
procedure ScheduleWatchValueEval(AWatchValue: TWatchValue);
|
||||
function EvaluateExpression(AWatchValue: TWatchValue;
|
||||
@ -1086,7 +1086,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TFpDebugDebugger.DoLog;
|
||||
procedure TFpDebugDebugger.DoLog(Data: PtrInt);
|
||||
var
|
||||
AMessage: TFpDbgLogMessage;
|
||||
begin
|
||||
@ -1368,7 +1368,7 @@ begin
|
||||
finally
|
||||
LeaveCriticalsection(FLogCritSection);
|
||||
end;
|
||||
TThread.Queue(nil, @DoLog);
|
||||
Application.QueueAsyncCall(@DoLog, 0);
|
||||
end;
|
||||
|
||||
procedure TFpDebugDebugger.ExecuteInDebugThread(AMethod: TFpDbgAsyncMethod);
|
||||
|
Loading…
Reference in New Issue
Block a user