View Full Version : EurekaLog switches at Run Time
Shlomo.Retalix
29-Sep-2005, 05:28 PM
Hi!
We want to compile our application in two modes: For our QA people we want the application to show the exception messages. For our customers, we dont want to prevent this.
For both cases, we want the exception log to be active.
Is there a way to control those switches programatically at application start?
Thanks,
Shlomo Blumenfeld,
Software developer,
Retalix.
admin
29-Sep-2005, 05:39 PM
Shlomo.Retalix wrote:
> Hi!
>
> We want to compile our application in two modes: For our QA people we
> want the application to show the exception messages. For our customers,
> we dont want to prevent this.
>
> For both cases, we want the exception log to be active.
>
> Is there a way to control those switches programatically at application
> start?
>
> Thanks,
>
> Shlomo Blumenfeld,
> Software developer,
> Retalix.
You can simple use the following command:
uses
ExceptionLog, ECore;
// ... your check code...
if (ShowTheDialog(){a your function}) then
CurrentEurekaLogOptions.ExceptionDialogOptions :=
(CurrentEurekaLogOptions.ExceptionDialogOptions +
[edoShowExceptionDialog])
else
CurrentEurekaLogOptions.ExceptionDialogOptions :=
(CurrentEurekaLogOptions.ExceptionDialogOptions -
[edoShowExceptionDialog]);
I hope to have answered to your question, otherwise don't hesitate to
recontact to me, ok? :-)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.