mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-02 23:12:05 +01:00
DBG: fixed dbg-inspector updates
git-svn-id: trunk@32300 -
This commit is contained in:
parent
09252d7682
commit
932ea7ee45
@ -966,8 +966,11 @@ begin
|
||||
end;
|
||||
|
||||
// update inspect
|
||||
if (FDebugger.State in [dsPause]) and (OldState = dsRun)
|
||||
and (FDialogs[ddtInspect] <> nil)
|
||||
// TODO: Move here from DebuggerCurrentLine / Only currently State change locks execution of gdb
|
||||
//if ( ((FDebugger.State in [dsPause]) and (OldState = dsRun)) or
|
||||
// (OldState in [dsPause]) ) and
|
||||
if (OldState in [dsPause]) and
|
||||
(FDialogs[ddtInspect] <> nil)
|
||||
then TIDEInspectDlg(FDialogs[ddtInspect]).UpdateData;
|
||||
|
||||
case FDebugger.State of
|
||||
@ -1071,6 +1074,10 @@ begin
|
||||
if SrcLine < 1 then Exit;
|
||||
end;
|
||||
|
||||
// TODO: do in DebuggerChangeState / Only currently State change locks execution of gdb
|
||||
if (FDialogs[ddtInspect] <> nil)
|
||||
then TIDEInspectDlg(FDialogs[ddtInspect]).UpdateData;
|
||||
|
||||
if (SrcFullName = '') or not GetFullFilename(SrcFullName, False) then
|
||||
begin
|
||||
SrcFullName := SrcFile;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user