mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 05:00:46 +01:00
GDBMIDebugger: ignore exceptions from the IDE, when calling the eval/hint callback
git-svn-id: trunk@63740 -
This commit is contained in:
parent
68b18e0e2b
commit
bf03175720
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user