Page 1 of 1

Script Debugging/Walkthrough

Posted: Tue Oct 03, 2017 7:24 am
by nai0248
Product, version and build: PrimalScript 2016, Build 7.2.95
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64 bit
***
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

I've used much older version of Primal Script but a bit new to these latest versions. How do I perform a step-by-step walkthrough/debug? Currently if I open a vbs file and go to debug, a blank debug console quickly appears then goes away. Even if I add breakpoints, I get the same results. Am I missing a step? Do I have to build the package first?

Since I'm new on these latter version I could use some help and I couldn't locate specific steps in other places.

Thanks.

Re: Script Debugging/Walkthrough

Posted: Tue Oct 03, 2017 7:36 am
by Alexander Riedel
Load the VBS file, set a breakpoint, select "Go" from the "Debug" panel on the "Home" tab.
Unless your script contains anything tha produces an error right away, it should stop at the breakpoint.
Check the output window if there are any runtime error messages if it just exists.

Re: Script Debugging/Walkthrough

Posted: Tue Oct 03, 2017 10:57 am
by nai0248
Issue was the platform was set to 64-bit. Once I changed to 32-bit it works as expected and makes sense.