"Run To Cursor" doesn't stop at cursor during debugging

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 11 years and 2 months 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
shawnwestin
Posts: 59
Last visit: Mon Aug 14, 2023 7:21 am

"Run To Cursor" doesn't stop at cursor during debugging

Post by shawnwestin »

- Edit a ps1 file
- Set breakpoint on line1
- Start debugging
- Wait until execution stops prior to line 1
- Right-click line 2, select "Run To Cursor"
-- (Also tried left-click on line 2, then right-click and select "Run To Cursor")

Expected: execution to stop prior to line 2
Actual: execution continues through line 2 and beyond

v3.1.15.
32bit PSv3
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

"Run To Cursor" doesn't stop at cursor during debugging

Post by Alexander Riedel »

Yes, we are aware. That is a bug in PowerShell V3.
Same reason as this: http://www.sapien.com/blog/2012/09/24/p ... point-bug/
You can help buy voting the bug up at Microsoft Connect:
https://connect.microsoft.com/PowerShel ... kpoint-bug
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 11 years and 2 months 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.