mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-03 10:56:18 +02:00
DBG: Increase the amount of chars gdb fetches from a string (made configurable). Issue: #0023932
git-svn-id: trunk@40369 -
This commit is contained in:
parent
93470b95dc
commit
e6e119e440
@ -134,6 +134,7 @@ type
|
||||
FMaxDisplayLengthForString: Integer;
|
||||
FTimeoutForEval: Integer;
|
||||
FWarnOnTimeOut: Boolean;
|
||||
procedure SetMaxDisplayLengthForString(AValue: Integer);
|
||||
procedure SetTimeoutForEval(const AValue: Integer);
|
||||
procedure SetWarnOnTimeOut(const AValue: Boolean);
|
||||
public
|
||||
@ -144,7 +145,7 @@ type
|
||||
{$IFDEF UNIX}
|
||||
property ConsoleTty: String read FConsoleTty write FConsoleTty;
|
||||
{$ENDIF}
|
||||
property MaxDisplayLengthForString: Integer read FMaxDisplayLengthForString write FMaxDisplayLengthForString;
|
||||
property MaxDisplayLengthForString: Integer read FMaxDisplayLengthForString write SetMaxDisplayLengthForString;
|
||||
property TimeoutForEval: Integer read FTimeoutForEval write SetTimeoutForEval;
|
||||
property WarnOnTimeOut: Boolean read FWarnOnTimeOut write SetWarnOnTimeOut;
|
||||
property EncodeCurrentDirPath: TGDBMIDebuggerFilenameEncoding
|
||||
@ -6428,6 +6429,14 @@ begin
|
||||
then FTimeoutForEval := -1;
|
||||
end;
|
||||
|
||||
procedure TGDBMIDebuggerProperties.SetMaxDisplayLengthForString(AValue: Integer);
|
||||
begin
|
||||
if FMaxDisplayLengthForString = AValue then Exit;
|
||||
if AValue < 0 then
|
||||
AValue := 0;
|
||||
FMaxDisplayLengthForString := AValue;
|
||||
end;
|
||||
|
||||
procedure TGDBMIDebuggerProperties.SetWarnOnTimeOut(const AValue: Boolean);
|
||||
begin
|
||||
if FWarnOnTimeOut = AValue then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user