mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 03:48:27 +02:00
Debugger, GDBMI: Disable WarnOnSetBreakpointError
git-svn-id: trunk@48520 -
This commit is contained in:
parent
094ca7530a
commit
a7d7e1edcb
@ -195,7 +195,7 @@ type
|
||||
property UseNoneMiRunCommands;
|
||||
property DisableLoadSymbolsForLibraries;
|
||||
property DisableForcedBreakpoint;
|
||||
property WarnOnSetBreakpointError;
|
||||
//property WarnOnSetBreakpointError;
|
||||
end;
|
||||
|
||||
TGDBMIDebugger = class;
|
||||
@ -5336,16 +5336,16 @@ begin
|
||||
end
|
||||
else CanContinue := True;
|
||||
|
||||
if FTheDebugger.DebuggerFlags * [dfSetBreakFailed, dfSetBreakPending] <> [] then begin
|
||||
if FTheDebugger.OnFeedback
|
||||
(self, Format(synfTheDebuggerWasUnableToSetAllBreakpointsDuringIniti,
|
||||
[LineEnding]), '', ftWarning, [frOk, frStop]) = frStop
|
||||
then begin
|
||||
StateStopped := True;
|
||||
SetDebuggerState(dsStop);
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
//if FTheDebugger.DebuggerFlags * [dfSetBreakFailed, dfSetBreakPending] <> [] then begin
|
||||
// if FTheDebugger.OnFeedback
|
||||
// (self, Format(synfTheDebuggerWasUnableToSetAllBreakpointsDuringIniti,
|
||||
// [LineEnding]), '', ftWarning, [frOk, frStop]) = frStop
|
||||
// then begin
|
||||
// StateStopped := True;
|
||||
// SetDebuggerState(dsStop);
|
||||
// exit;
|
||||
// end;
|
||||
//end;
|
||||
|
||||
if StoppedAtEntryPoint and CanContinue and (FContinueCommand = nil) then begin
|
||||
// try to step to pascal code
|
||||
|
@ -76,6 +76,7 @@ type
|
||||
property InternalStartBreak;
|
||||
property UseNoneMiRunCommands;
|
||||
property DisableLoadSymbolsForLibraries;
|
||||
//property WarnOnSetBreakpointError;
|
||||
end;
|
||||
|
||||
procedure Register;
|
||||
|
@ -87,6 +87,7 @@ type
|
||||
property InternalStartBreak;
|
||||
property UseNoneMiRunCommands;
|
||||
property DisableLoadSymbolsForLibraries;
|
||||
//property WarnOnSetBreakpointError;
|
||||
end;
|
||||
|
||||
procedure Register;
|
||||
|
Loading…
Reference in New Issue
Block a user