FpDebugger (pure): Implemented pause (Darwin)

git-svn-id: trunk@45865 -
This commit is contained in:
joost 2014-07-14 20:11:02 +00:00
parent cace204583
commit 02c66deadd

View File

@ -145,7 +145,7 @@ type
function Continue(AProcess: TDbgProcess; AThread: TDbgThread; SingleStep: boolean): boolean; override;
function WaitForDebugEvent(out ProcessIdentifier, ThreadIdentifier: THandle): boolean; override;
//function ResolveDebugEvent(AThread: TDbgThread): TFPDEvent; override;
function Pause: boolean; override;
end;
procedure RegisterDbgClasses;
@ -764,6 +764,11 @@ begin
end
end;
function TDbgDarwinProcess.Pause: boolean;
begin
result := FpKill(ProcessID, SIGTRAP)=0;
end;
function TDbgDarwinProcess.AnalyseDebugEvent(AThread: TDbgThread): TFPDEvent;
begin