Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 427

PowerShell Studio • Can't Debug because AnalyzeScript fails with file not found

$
0
0
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: SAPIEN PowerShell Studio 2023, 5.8.235
Operating system: Windows 10 Pro
PowerShell version(s): 7.4.1

*** Please add details and screenshots as needed below. ***
Steps to reproduce:
  • Created a new file 'R:\test-send-mail.ps1'.
  • Defined some script parameters with validation.
  • Added a code line using those parameters.
  • Set a breakpoint on that line.
  • Saved the file.
  • Click on 'Debug'.
  • Popup for parameter input is shown. Click on 'Ok'
Observed result:
Instead of stopping at the breakpoint, the script isn't executed and the Tools Ouput pane shows an error like 'AnalyzeScript: Das System kann die angegebene Datei nicht finden.', which is a File-Not-Found.
Here is a screenshot that shows the error situation, including a file explorer window showing that the file does exist.
AnalyzeScript-Error.png
This error prevents all attempts to debug or run a script from within the PowerShell Studio.

Statistics: Posted by AxS-Developer — Thu Feb 08, 2024 11:58 pm



Viewing all articles
Browse latest Browse all 427

Trending Articles