PDA

View Full Version : CurrentEurekaLogOptions.LoadFromFile and BehaviourOptions


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 ??

admin
09-Sep-2008, 04:45 PM
Hi,

are you sure to have disabled this options in the binary file?

Can you create and send to me a little source demo able to reproduce it, please?