GDBMIDebugger: ignore exceptions from the IDE, when calling the eval/hint callback

git-svn-id: trunk@63740 -
This commit is contained in:
martin 2020-08-15 02:29:43 +00:00
parent 68b18e0e2b
commit bf03175720

View File

@ -9395,8 +9395,12 @@ begin
then FreeAndNil(TGDBMIDebuggerCommandEvaluate(Sender).FTypeInfo);
with TGDBMIDebuggerCommandEvaluate(Sender) do begin
if Callback<> nil then
Callback(Self, True, TextValue, TypeInfo);
try
if Callback<> nil then
Callback(Self, True, TextValue, TypeInfo);
except
debugln(DBG_VERBOSE, ['Failed Evaluate Callback']);
end;
Callback := nil;
end;
end;