Support Forums

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.

Forum rulesDO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Hi,

I have a fairly long script (2000+ lines) that I keep improving but since a few days I can't use breakpoints and perform traces anymore. The script just seems to never reach the breakpoints if it executes at all. There is no error messages and being patient is of no use: it looks like Powershell Studio is frozen until I click the Stop button. However I can use MS ISE to set breakpoints on the same lines in the same script and perform traces without problem.

I noticed that when I reach a first breakpoint and I want to look at the content of a variable in the Debug console tab it doesn't work and the Variables tab shows an hourglass (well, the Windows 10 equivalent). The "hourglass" even persists after I have stopped execution.

Thanks for running that test.
Do you see this issue only with long script or simple script behave the same?
Is the database on remote computer?
Was it working before with older PowerShell Studio version
If you set breakpoint in the beginning of script or before any database, excel, sharepoint site does debugger work?