PowerShell Studio 2017 v5.4.135, 64 bit version, trial
Operating system: Windows 10.0.14393 x 64 bit
PSVersion 5.1.14393.693
Attached file tmp.ps1 does run successfully. However I cannot debug into class constructor. It shows error:
>> Debugging (tmp.ps1) Script...
>> Platform: V5 64Bit (STA)
tmp.ps1 (48): Cannot bind argument to parameter 'Path' because it is null.>> Script Ended
Debugging in PowerShell ISE and PowerGUI works flawlessly.
Does your product support this kind of debugging?
Does PowerShell Studio support debugging inside classes?
Forum rules
DO 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.
DO 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.
- AntonKrouglov
- Posts: 3
- Last visit: Thu Feb 09, 2017 5:57 am
Does PowerShell Studio support debugging inside classes?
- Attachments
-
- tmp.ps1
- (1.26 KiB) Downloaded 132 times
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Does PowerShell Studio support debugging inside classes?
If it runs you should be able to debug it. Where did you set a breakpoint?
I will try to replicate this.
I will try to replicate this.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- AntonKrouglov
- Posts: 3
- Last visit: Thu Feb 09, 2017 5:57 am
Re: Does PowerShell Studio support debugging inside classes?
Break point was set at line 18
See attached video
See attached video
- Attachments
-
- error_mp4.txt
- rename to error.mp4
- (300.54 KiB) Downloaded 124 times
Re: Does PowerShell Studio support debugging inside classes?
I've managed to reproduce this on my end and have filed an internal bug report.
Thank you for bringing this to our attention. When we have some news to share, we'll be sure to post it here.
Thank you for bringing this to our attention. When we have some news to share, we'll be sure to post it here.
DevinL
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.