FH Plugin debug window runs very slowly
Posted: 27 May 2022 08:26
Hi
Does anyone have any advice for how to get the FH plugin debug window in FH to run programs at a 'normal' speed?
My experience is that my code runs 50 times slower in the debug window than when run directly from the Plugin window... even after I've turned off Debug Mode and unchecked all the variable types with no discernible impact.
So I'm now running the plugin from the FH Plugin window and then debugging by feel (or writing FHMessageBoxes or outputting debug data to an external log file which is awkward).
My program is 2000+ lines long and processes a 6000+ person FH database....but the whole thing runs in 45 secs in FH direct, while it had only got to 10% in 4 minutes when run in the debug window with Debug Mode off. I don't have 40 minutes to run the plugin for each test run!
Any suggestions?
Thanks in anticipation.
Paul
Does anyone have any advice for how to get the FH plugin debug window in FH to run programs at a 'normal' speed?
My experience is that my code runs 50 times slower in the debug window than when run directly from the Plugin window... even after I've turned off Debug Mode and unchecked all the variable types with no discernible impact.
So I'm now running the plugin from the FH Plugin window and then debugging by feel (or writing FHMessageBoxes or outputting debug data to an external log file which is awkward).
My program is 2000+ lines long and processes a 6000+ person FH database....but the whole thing runs in 45 secs in FH direct, while it had only got to 10% in 4 minutes when run in the debug window with Debug Mode off. I don't have 40 minutes to run the plugin for each test run!
Any suggestions?
Thanks in anticipation.
Paul