2 Replies Latest reply on Jul 26, 2010 4:40 PM by Bill95722

    Ideas requested for logging script activities

    Bill95722 Level 1

      I have a form developed in LC with considerable scripting. I need to strip out all the debugging alerts and send the form out to users but I would like to figure out some way to debug any future problems.

       

      My thought is to somehow log script activities so that when a failing form is returned to me I can see what was going on to produce the problem.

       

      One idea is to use a hidden listbox to record script activity - results of IF statements, FOR loops, index values, etc. I could use addItem to make a history of the last n activities and hopefully see what led to the problem.

       

      I'd like to make the list circular, that is after n entries go back to the top and overwrite the oldest entries. Not sure how to accomplish this...

       

      Any ideas are most welcome! Thanks!