huseyinxy
04-Sep-2008, 07:49 AM
Hi,
When I load a options file with option "Catch Handled Exceptions False" by CurrentEurekaLogOptions.LoadFromFile CurrentEurekaLogOptions.BehaviourOptions is not changed as expected.
//before load
if boCatchHandledExceptions in ExceptionLog.CurrentEurekaLogOptions.BehaviourOpti ons then begin
ShowMessage('Catch handled exceptions True');
end else begin
ShowMessage('Catch handled exceptions False');
end;
// Catch handled exceptions False
//load a binary options file with Catch Handled Exceptions False
ExceptionLog.CurrentEurekaLogOptions.LoadFromFile( fnOpt);
// after load
if boCatchHandledExceptions in ExceptionLog.CurrentEurekaLogOptions.BehaviourOpti ons then begin
ShowMessage('Catch handled exceptions True');
end else begin
ShowMessage('Catch handled exceptions False');
end;
// Catch handled exceptions TRUE ??
When I load a options file with option "Catch Handled Exceptions False" by CurrentEurekaLogOptions.LoadFromFile CurrentEurekaLogOptions.BehaviourOptions is not changed as expected.
//before load
if boCatchHandledExceptions in ExceptionLog.CurrentEurekaLogOptions.BehaviourOpti ons then begin
ShowMessage('Catch handled exceptions True');
end else begin
ShowMessage('Catch handled exceptions False');
end;
// Catch handled exceptions False
//load a binary options file with Catch Handled Exceptions False
ExceptionLog.CurrentEurekaLogOptions.LoadFromFile( fnOpt);
// after load
if boCatchHandledExceptions in ExceptionLog.CurrentEurekaLogOptions.BehaviourOpti ons then begin
ShowMessage('Catch handled exceptions True');
end else begin
ShowMessage('Catch handled exceptions False');
end;
// Catch handled exceptions TRUE ??