Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.167
OS: Windows 10 Pro (64 Bit)
Build: v10.0.17763.0
I have problems debugging in PS V2 32/64 bit
For every set breakpoint I get the error message when starting in the debugger:
"Das Argument für den Parameter "Script" kann nicht überprüft werden. Das Argument ist NULL. Geben Sie einen gültigen Wert für das Argument an, und führen Sie den Befehl erneut aus." (The argument for the script parameter can not be validated, the argument is NULL ...)
The breakpoints are then ignored during execution.
The ExecutionContext.SessionState.LanguageMode is Full Language
For comparison: In PS V5 I get a message for each breakpoint at startup:
"Zeilenhaltepunkt bei "D:\dev\temp\test.Run.ps1:54", etc
and debugging works fine.
thank you
jewver
Problems debugging in PS V2
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.
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.
Re: Problems debugging in PS V2
Thanks for reporting the issue.
The issue has been sent to the proper place for evaluation and correction. When a fix is issued with a service build, it will be listed in the change log.
The issue has been sent to the proper place for evaluation and correction. When a fix is issued with a service build, it will be listed in the change log.
Re: Problems debugging in PS V2
This issue has been fixed and will be in the next service release (v5.6.169).
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: Problems debugging in PS V2
Sorry, not at the moment. The code in question is about as old as PowerShell V2 and always worked. Some recent change in either PowerShell or the .NET framework broke it, at least that is our theory. So we have the fix in QA at this time and are testing all V2 debugging functionality to make sure nothing else was affected. Unfortunately that means I have no time line at the moment.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Problems debugging in PS V2
Please try the latest build of PowerShell Studio (5.6.169) and let us know if the behavior persists.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Problems debugging in PS V2
I tested the new release and the V2.0 debugging works fine again.
Many thanks for the quick processing.
Many thanks for the quick processing.