mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 13:38:24 +02:00
Debugger: Watches-dialog, fixed DisplayName after drag and drop
This commit is contained in:
parent
42fd1bf230
commit
f0a22e1596
@ -600,6 +600,7 @@ type
|
||||
function GetValue(const AThreadId: Integer; const AStackFrame: Integer): TIdeWatchValue;
|
||||
function GetAnyValidParentWatchValue(AThreadId: Integer; AStackFrame: Integer): TIdeWatchValue;
|
||||
function GetWatchDisplayName: String;
|
||||
procedure SetDisplayName(AValue: String); reintroduce;
|
||||
protected
|
||||
procedure InitChildWatches;
|
||||
function CreateChildWatches: TIdeWatches; virtual;
|
||||
@ -628,7 +629,7 @@ type
|
||||
function HasAllValidParents(AThreadId: Integer; AStackFrame: Integer): boolean;
|
||||
property ParentWatch: TIdeWatch read FParentWatch;
|
||||
property TopParentWatch: TIdeWatch read GetTopParentWatch;
|
||||
property DisplayName: String read GetWatchDisplayName write FDisplayName;
|
||||
property DisplayName: String read GetWatchDisplayName write SetDisplayName;
|
||||
public
|
||||
property Values[const AThreadId: Integer; const AStackFrame: Integer]: TIdeWatchValue
|
||||
read GetValue;
|
||||
@ -6483,6 +6484,13 @@ begin
|
||||
Result := FExpression;
|
||||
end;
|
||||
|
||||
procedure TIdeWatch.SetDisplayName(AValue: String);
|
||||
begin
|
||||
FDisplayName := AValue;
|
||||
Changed;
|
||||
DoModified;
|
||||
end;
|
||||
|
||||
procedure TIdeWatch.SetParentWatch(AValue: TIdeWatch);
|
||||
begin
|
||||
if FParentWatch = AValue then Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user