-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger does not show column indicator when stopped at a breakpoint #616
Comments
Can you give me a screenshot of what you see in the ISE that you expect to see in VS Code? I'm not sure how the ISE is highlighting each statement separately. |
Thank you! I wasn't aware you were referring to the debugger. VS Code now has a way to indicate in-line where the debugger has stopped in these cases but it looks like we didn't implement this correctly. Thanks for catching the bug, I'll get it fixed for the next patch update. |
Apologies, I really wasn't very clear in the initial description. That's awesome, looking forward to the next update. |
This change causes the column number of the debugger's currently stopped position to be passed through with the top stack frame. This allows VS Code's debugger UI to show an indicator that points to where the debugger stopped when stepping through code. Resolve PowerShell/vscode-powershell#616
This change causes the column number of the debugger's currently stopped position to be passed through with the top stack frame. This allows VS Code's debugger UI to show an indicator that points to where the debugger stopped when stepping through code. Resolve PowerShell/vscode-powershell#616
System Details
$PSVersionTable
:PSVersion 5.1.14393.953
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.953
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
In a statement that has multiple commands, for instance a string where you're referencing a variable property or a foreach statement can we highlight the actual statement being executed. ISE does this so in a statement such as
$UpdateValue = "User moved to $($Matches['ou']) by $($Object.MovedByName) on $($Object.MovedOn)"
ISE will highlight each of those statements to show what it's actually executing, right now in Code it just highlights the entire line and appears to execute it three timesThe text was updated successfully, but these errors were encountered: