mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:29:29 +02:00
DBG: Ensure Snapshot Watches are enabled
git-svn-id: trunk@32155 -
This commit is contained in:
parent
92cd19f574
commit
d909440b1a
@ -41,7 +41,7 @@ unit Debugger;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
TypInfo, Classes, SysUtils, Laz_XMLCfg, math,
|
TypInfo, Classes, SysUtils, Laz_XMLCfg, math, FileUtil,
|
||||||
LCLProc, IDEProcs, DebugUtils, maps;
|
LCLProc, IDEProcs, DebugUtils, maps;
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -7222,6 +7222,7 @@ begin
|
|||||||
TCurrentWatchValueList(FValueList).SnapShot := nil;
|
TCurrentWatchValueList(FValueList).SnapShot := nil;
|
||||||
end else begin
|
end else begin
|
||||||
FSnapShot.Assign(self);
|
FSnapShot.Assign(self);
|
||||||
|
FSnapShot.Enabled := True; // Snapshots are always enabled
|
||||||
TCurrentWatchValueList(FValueList).SnapShot := FSnapShot.FValueList;
|
TCurrentWatchValueList(FValueList).SnapShot := FSnapShot.FValueList;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -7917,7 +7918,7 @@ begin
|
|||||||
then FArguments.Assign(AnArguments);
|
then FArguments.Assign(AnArguments);
|
||||||
FFunctionName := AFunctionName;
|
FFunctionName := AFunctionName;
|
||||||
FSource := ASource;
|
FSource := ASource;
|
||||||
FFullFileName := AFullFileName;
|
FFullFileName := TrimFilename(AFullFileName);
|
||||||
FLine := ALine;
|
FLine := ALine;
|
||||||
FState := AState;
|
FState := AState;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user