Skip navigation
Currently Being Moderated

Syntax errors with ES freeze/hang FM

Jul 31, 2012 11:18 AM

Hi,

 

I keep bumping into situations where a small syntax error causes FM to freeze, like there is a modal dialog open except there is no dialog. For example:

 

doc = app.ActiveDoc();

 

...this is wrong because of the parenthesis, but rather than throwing any errors, FM just freezes and I can't get it unfrozen, except to kill it with the Task Manager. Is there a way to prevent this freeze or at least thaw it out? It's becoming tiresome to restart FM and reset locks, etc. with every little typo.

 

Thanks,

Russ

 
Replies
  • Currently Being Moderated
    Jul 31, 2012 1:32 PM   in reply to Russ Ward

    Hi Russ,

    I think this won't help you, but I can reproduce this with app.ActiveDoc() and app.ActiveBook().

    With other properties I get a correct runtime error "app.AutoBackup() is not a function".

    So generally it works as expected, but not in these two cases.

    I think this is a problem of the script engine in these two cases. Perhaps there's an invisible (private) method defined, which is used internally, I don't know.

    Bye

    Markus

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points