Debugger, GDBMI: Disable WarnOnSetBreakpointError

git-svn-id: trunk@48520 -
This commit is contained in:
martin 2015-03-27 16:10:17 +00:00
parent 094ca7530a
commit a7d7e1edcb
3 changed files with 13 additions and 11 deletions

View File

@ -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

View File

@ -76,6 +76,7 @@ type
property InternalStartBreak;
property UseNoneMiRunCommands;
property DisableLoadSymbolsForLibraries;
//property WarnOnSetBreakpointError;
end;
procedure Register;

View File

@ -87,6 +87,7 @@ type
property InternalStartBreak;
property UseNoneMiRunCommands;
property DisableLoadSymbolsForLibraries;
//property WarnOnSetBreakpointError;
end;
procedure Register;