Page 1 of 1

Studio 2018 v5.5.154 Debugging with multiple files is extremely slow

Posted: Thu Oct 04, 2018 1:59 am
by boomer007
Hello, i use the newest version (always) and since a couple of versions the debugging with multiple files became extremely slow.
I usually have a Form script that loads multiple modules and calls functions from multiple files. Usually i have more than 7 files open.
During debugging the execution of simple steps e.g. If, write-host and so on takes up to 20 seconds before its being executed.
The mouse over on variables take usually 10-20 seconds before the values are visible. The execution of a variable or code
fragment in the debug console as well. This makes it very painful to debug bigger solutions.

I use a brand new Surface Book 2 15 inch. Fast enough i guess.

Does anyone have the same problem?
Thanks in advance.
Christian

Re: Studio 2018 v5.5.154 Debugging with multiple files is extremely slow

Posted: Thu Oct 04, 2018 7:39 am
by Olga_B
Hello,
The issue has been sent to the proper place for evaluation.

If you can, please zip and load up the original psf file(s), so that we can attempt to recreate the issue:

https://www.sapien.com/support/upload

Re: Studio 2018 v5.5.154 Debugging with multiple files is extremely slow

Posted: Wed Oct 10, 2018 2:52 pm
by davidc
We ran part of the psf through the debugger and it seems to be responsive. Since the debugger queries the variables and their properties during a breakpoint, I suspect that you have some objects that have slow to execute properties (especially if they access remote VM machines).

You can try the following to improve performance:

1. Run the debugger and close the Variables panel.
Closing the Variables panel, will prevent the debugger from querying all the variables and their properties at each breakpoint.
2. Use the Watch or Debug Console panels to monitor relevant objects.