mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-02 20:51:11 +01:00
FpDebugger (pure): Implemented pause (Darwin)
git-svn-id: trunk@45865 -
This commit is contained in:
parent
cace204583
commit
02c66deadd
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user