Product, version and build: PowerShell Studio 2018 / Version 5.5.150
32 or 64 bit version of product: 64 bit
Operating system: Windows 7 Professional
32 or 64 bit OS: 64 bit
I've been facing issues debugging a project in PowerShell Studio 2018 created with an older version of PowerShell Studio (2016).
When I set a breakpoint the debugger doesn't stop at all. I've searched the forum and saw some people having this issue before.
How can I solve the problem?
Regards,
Everton Bernardi
Unable to debug in project created with PowerShell Studio 2016
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.
- morenarosagroup
- Posts: 12
- Last visit: Tue Feb 20, 2024 9:18 am
Re: Unable to debug in project created with PowerShell Studio 2016
Hello,
While we take a look into what might be causing this I would just like to make sure that you are clicking the Debug button rather than the Run button.
While we take a look into what might be causing this I would just like to make sure that you are clicking the Debug button rather than the Run button.
- morenarosagroup
- Posts: 12
- Last visit: Tue Feb 20, 2024 9:18 am
Re: Unable to debug in project created with PowerShell Studio 2016
Hello Cody and thank you for your response.
I'm starting the program with the F5 shortcut. I've already tried to click on the Debug button to no avail.
If I create a new project, everything works as expected.
Regards
I'm starting the program with the F5 shortcut. I've already tried to click on the Debug button to no avail.
If I create a new project, everything works as expected.
Regards
Re: Unable to debug in project created with PowerShell Studio 2016
is it possible that the code where the break-point is placed is not being executed? if possible could you upload your Project to https://www.sapien.com/support/upload and reference this post so we can take a look?
- morenarosagroup
- Posts: 12
- Last visit: Tue Feb 20, 2024 9:18 am
Re: Unable to debug in project created with PowerShell Studio 2016
Cody,
I've placed a breakpoint over a click event of a button and that was the problem. I should have placed it within the code. Now the debugger works as expected.
Thank you so much!
I've placed a breakpoint over a click event of a button and that was the problem. I should have placed it within the code. Now the debugger works as expected.
Thank you so much!
Re: Unable to debug in project created with PowerShell Studio 2016
You're Welcome, glad I could help.