mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 10:19:23 +02:00
LazDebuggerFp: clear flags for set/unset internal breaks
(cherry picked from commit 4f94496f20
)
This commit is contained in:
parent
3e0e221d32
commit
2ce918ee2e
@ -2307,6 +2307,8 @@ end;
|
||||
|
||||
procedure TFpDebugExceptionStepping.DoProcessLoaded;
|
||||
begin
|
||||
FBreakEnabled := [];
|
||||
FBreakNewEnabled := [];
|
||||
debuglnEnter(DBG_BREAKPOINTS, ['>> TFpDebugDebugger.SetSoftwareExceptionBreakpoint FPC_RAISEEXCEPTION' ]);
|
||||
FBreakPoints[bplRaise] := FDebugger.AddBreak('FPC_RAISEEXCEPTION');
|
||||
FBreakPoints[bplBreakError] := FDebugger.AddBreak('FPC_BREAK_ERROR');
|
||||
@ -2323,6 +2325,7 @@ end;
|
||||
procedure TFpDebugExceptionStepping.DoNtDllLoaded(ALib: TDbgLibrary);
|
||||
begin
|
||||
debugln(DBG_BREAKPOINTS, ['SetSoftwareExceptionBreakpoint RtlUnwind']);
|
||||
DisableBreaksDirect([bplRtlUnwind]);
|
||||
FBreakPoints[bplRtlUnwind].Free;
|
||||
FBreakPoints[bplRtlUnwind] := FDebugger.AddBreak('RtlUnwindEx', ALib, False);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user