mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 23:18:01 +02:00
Debugger: Fix DebugInspector stopped working after window was open with empty input. Issue #0034452
git-svn-id: trunk@59350 -
This commit is contained in:
parent
54026bdc80
commit
58bd48455a
@ -889,21 +889,27 @@ procedure TIDEInspectDlg.UpdateData;
|
||||
var
|
||||
Opts: TDBGEvaluateFlags;
|
||||
begin
|
||||
if DebugBoss.State in [dsRun, dsStop, dsIdle] then begin
|
||||
// No request can be running
|
||||
FUpdateLock := False;
|
||||
FTestUpdateLock := False;
|
||||
end;
|
||||
|
||||
if FUpdateLock then begin
|
||||
FUpdateNeeded := True;
|
||||
exit;
|
||||
end;
|
||||
|
||||
if FExpression = '' then begin
|
||||
Clear;
|
||||
StatusBar1.SimpleText := '';
|
||||
exit;
|
||||
end;
|
||||
|
||||
FUpdateLock := True;
|
||||
FUpdateNeeded := False;
|
||||
try
|
||||
FreeAndNil(FDBGInfo);
|
||||
if FExpression = ''
|
||||
then begin
|
||||
Clear;
|
||||
StatusBar1.SimpleText := '';
|
||||
exit;
|
||||
end;
|
||||
|
||||
InputHistories.HistoryLists.Add(ClassName, FExpression,rltCaseSensitive);
|
||||
if EdInspect.Items.IndexOf(FExpression) = -1
|
||||
|
Loading…
Reference in New Issue
Block a user