mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 15:50:15 +02:00
FpDebugger (pure): watches error checking
git-svn-id: trunk@44920 -
This commit is contained in:
parent
60aa4dd2fc
commit
9056ee62b2
@ -662,6 +662,7 @@ begin
|
||||
|
||||
APasExpr := TFpPascalExpression.Create(AWatchValue.Expression, AContext);
|
||||
try
|
||||
APasExpr.ResultValue; // trigger full validation
|
||||
if not APasExpr.Valid then
|
||||
begin
|
||||
AWatchValue.Value := ErrorHandler.ErrorAsString(APasExpr.Error);
|
||||
|
Loading…
Reference in New Issue
Block a user