AnsweredAssumed Answered

Script dead slow with debugger and blank data viewer open

Question asked by hschlossberg on May 22, 2015
Latest reply on May 28, 2015 by hschlossberg


Script dead slow with debugger and blank data viewer open


FileMaker Pro



Operating system version

Windows 7

Description of the issue

With the data viewer open on the "Watch" tab and with no expressions/values showing, and with debugger open, scripts take approximately 10-20 times as long to complete.

Steps to reproduce the problem

1) Open data viewer, switch to the "Watch" tab and delete all expressions/values;
2) Open debugger
3) Run a script and then click the 'continue' button in debugger to run the script to the end.

In my particular script (what the script does shouldn't matter, as it is all relative), it loops through 5-13 records in 10 seconds with the above setup.

If I do the same exact thing with data viewer closed, it loops through about 130 records in 10 seconds.  No matter how many times I run the script either way, times are consistent (i.e. it is NOT caching records).

If I run the same test in FM13, either with or without the data viewer open, running the same script on the same records, it runs about 120 records in 10 seconds either way.

Something has changed in 14 and it is not for the better.