PDA

View Full Version : Logging of handled Exception


Roman Ganz
01-Mar-2006, 08:18 AM
Hello,

I use Eurekalog 5.1.2 Enterprise in a very large project. On Startup I
set a custom function to handle a special Exception, but the default
"handled"-Value is False. I also set the following Options (only
logging, no Dialogs)

CurrentEurekaLogOptions.ActivateLog := True;
CurrentEurekaLogOptions.SaveLogFile := True;
CurrentEurekaLogOptions.AppendLogs := True;
CurrentEurekaLogOptions.ErrorsNumberToSave := 50;
CurrentEurekaLogOptions.ExceptionDialogOptions := [];
CurrentEurekaLogOptions.Active := True;

Well, when an exception raise, the logging works, but when a exception
in a Try-Except occurs then nothing happens. How can I enable the
standard Eureka-Errorhandling in Try-Except's? I *cannot* put something
like this in every Except-block, because the project is really big.

except
on E:Exception do begin
StandardEurekaNotify(E, ExceptAddr);
end;
end;

Thanks for Help

greets Roman Ganz

admin
01-Mar-2006, 03:28 PM
Hi,

Roman Ganz wrote:
> Hello,
>
> I use Eurekalog 5.1.2 Enterprise in a very large project. On Startup I
> set a custom function to handle a special Exception, but the default
> "handled"-Value is False. I also set the following Options (only
> logging, no Dialogs)
>
> [...]
>
> Well, when an exception raise, the logging works, but when a exception
> in a Try-Except occurs then nothing happens. How can I enable the
> standard Eureka-Errorhandling in Try-Except's? I *cannot* put something
> like this in every Except-block, because the project is really big.
>
> except
> on E:Exception do begin
> StandardEurekaNotify(E, ExceptAddr);
> end;
> end;
>
> Thanks for Help
>
> greets Roman Ganz

I'm sorry but currently this is the unique method you can use to catch
every handled exception.


--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

Roman Ganz
02-Mar-2006, 10:24 AM
> I'm sorry but currently this is the unique method you can use to catch
> every handled exception.

Hmm... not good... Any chance to get this in a future Release?

admin
06-Mar-2006, 09:42 AM
Hi,

Roman Ganz wrote:
>> I'm sorry but currently this is the unique method you can use to catch
>> every handled exception.
>
> Hmm... not good... Any chance to get this in a future Release?

Yes of course! ;)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

Roman Ganz
27-Mar-2006, 09:24 AM
Hi admin

>>> I'm sorry but currently this is the unique method you can use to
>>> catch every handled exception.
>>
>> Hmm... not good... Any chance to get this in a future Release?
>
> Yes of course! ;)
>
Any chance to get an implementation-date for this feature? ;)

admin
27-Mar-2006, 02:28 PM
Hi,

Roman Ganz wrote:
> Hi admin
>
>>>> I'm sorry but currently this is the unique method you can use to
>>>> catch every handled exception.
>>>
>>> Hmm... not good... Any chance to get this in a future Release?
>>
>> Yes of course! ;)
>>
> Any chance to get an implementation-date for this feature? ;)

Not even.

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

KeithW
19-May-2006, 10:23 AM
I too would like some kind of Notification function that gets called on Captured Try..Except. I would like to send the unit/line number to something like SmartInspect http://www.gurock.com/.
Regards
Keith

admin
22-May-2006, 02:14 PM
Hi,

KeithW wrote:
> I too would like some kind of Notification function that gets called on
> Captured Try..Except. I would like to send the unit/line number to
> something like SmartInspect http://www.gurock.com/.
> Regards
> Keith

Is a good idea but I suggest you to open a new thread in the "Suggestions"
newsgroups, ok? :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

Roman Ganz
22-Jun-2006, 07:18 AM
Hi Fabio,

What the state about this? Is there a Release Canditat with this Feature?

greets Roman Ganz


> I use Eurekalog 5.1.2 Enterprise in a very large project. On Startup I
> set a custom function to handle a special Exception, but the default
> "handled"-Value is False. I also set the following Options (only
> logging, no Dialogs)
>
> CurrentEurekaLogOptions.ActivateLog := True;
> CurrentEurekaLogOptions.SaveLogFile := True;
> CurrentEurekaLogOptions.AppendLogs := True;
> CurrentEurekaLogOptions.ErrorsNumberToSave := 50;
> CurrentEurekaLogOptions.ExceptionDialogOptions := [];
> CurrentEurekaLogOptions.Active := True;
>
> Well, when an exception raise, the logging works, but when a exception
> in a Try-Except occurs then nothing happens. How can I enable the
> standard Eureka-Errorhandling in Try-Except's? I *cannot* put something
> like this in every Except-block, because the project is really big.
>
> except
> on E:Exception do begin
> StandardEurekaNotify(E, ExceptAddr);
> end;
> end;
>
> Thanks for Help

admin
22-Jun-2006, 03:05 PM
Hi,

Roman Ganz wrote:
> Hi Fabio,
>
> What the state about this? Is there a Release Canditat with this Feature?
>
> greets Roman Ganz

Please to be patient, I'll write to you when this new feature will be available,
ok? :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!