mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +02:00
FpDebug: Fixed mistake in attempt to solve AV in StateMachineValid
This commit is contained in:
parent
239b2be664
commit
be75a9d85e
@ -5881,15 +5881,15 @@ begin
|
||||
Result := FStateMachine <> nil;
|
||||
if Result then Exit;
|
||||
|
||||
Result := FAddressInfo <> nil;
|
||||
if not result then exit;
|
||||
|
||||
if FAddressInfo^.StateMachine = nil
|
||||
then begin
|
||||
CompilationUnit.BuildLineInfo(FAddressInfo, False);
|
||||
if FAddressInfo^.StateMachine = nil then Exit;
|
||||
end;
|
||||
|
||||
Result := FAddressInfo <> nil;
|
||||
if not result then exit;
|
||||
|
||||
// we cannot restore a statemachine to its current state
|
||||
// so we shouldn't modify FAddressInfo^.StateMachine
|
||||
// so use clones to navigate
|
||||
|
Loading…
Reference in New Issue
Block a user