Debugging .wsf

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.
This topic is 17 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
jason@sandys.us
Posts: 1
Last visit: Mon Feb 17, 2020 6:19 pm

Debugging .wsf

Post by jason@sandys.us »

Is it possible to debug a Windows Script File (.wsf) with PrimalScript 4.1. Everytime I try, it gives the following message:


An unhandled exception ('Script Breakpoint') occurred in cscript.exe [3496]. Just-IN-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled.

Debugging of plain VBScript (.vbs) files works fine. This error seems to indicate that PrimalScript is trying to launch an external debugger so I checked Tools->Options->Environment->Languages->Windows Script Host->Script Debugger and it is set to cscript.exe just like VBScript.

Any insight would be great.

Thanks.

User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 20
Been upvoted: 37 times

Debugging .wsf

Post by Alexander Riedel »

The built-in debugger does not support WSF files, sorry.
You need to use an external debugger for WSF files.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 17 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.