PDA

View Full Version : How to get user's steps to reproduce bug


codepoet
24-Oct-2005, 07:12 PM
I don't see an option to display the input area for the user to enter the steps they took which produced the error. How do I get that to appear and for the info entered to be sent with the log?

codepoet
24-Oct-2005, 09:36 PM
Ok, I found how to do this using the Append 'Reproduce Text' checkbox on the Log File tab of Project/EurekaLog Options, but how do you set this and other properties in code at runtime?

tms
25-Oct-2005, 06:24 AM
User "codepoet" <ed.stoner@cts-america.com> wrote...
>
> Ok, I found how to do this using the Append 'Reproduce Text' checkbox on
> the Log File tab of Project/EurekaLog Options, but how do you set this
> and other properties in code at runtime?

See Suggestions forum, thread "Reproduce text request".
For now I think you could use OnCustomDataRequest event.
--
Regards
Tomski

admin
25-Oct-2005, 09:01 AM
codepoet wrote:
> Ok, I found how to do this using the Append 'Reproduce Text' checkbox on
> the Log File tab of Project/EurekaLog Options, but how do you set this
> and other properties in code at runtime?

Simply using the "CurrentEurekaLogOptions" function.

NOTE: into the EurekaLog events use the
"EurekaExceptionRecord.CurrentModuleOptions" parameter instead of this
function!


Example:

//-----------------------------------------------------------------

uses
ExceptionLog, ECore; // Required units.

begin
CurrentEurekaLogOptions.LogOptions :=
(CurrentEurekaLogOptions.LogOptions + [loAppendReproduceText]);
end;

//-----------------------------------------------------------------


--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.