Skip to content

Fetch script listings for debugger stop events with no ScriptName #331

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

Merged
merged 1 commit into from
Jan 12, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Jan 11, 2017

This change adds new behavior to the DebugService which enables it to
gather the listing of any source code that is being executed outside of a
script file when the debugger hits a breakpoint. This is useful for
allowing the user to step through code in this type of scenario.

Currently this is being used for an unreleased feature in PowerShell 6.0
which allows you to step into ScriptBlocks run against remote sessions
with Invoke-Command.

@daviwil daviwil added this to the 0.9.0 milestone Jan 11, 2017
@rkeithhill
Copy link
Contributor

Cool!

This change adds new behavior to the DebugService which enables it to
gather the listing of any source code that is being executed outside of a
script file when the debugger hits a breakpoint.  This is useful for
allowing the user to step through code in this type of scenario.

Currently this is being used for an unreleased feature in PowerShell 6.0
which allows you to step into ScriptBlocks run against remote sessions
with Invoke-Command.
@daviwil daviwil force-pushed the daviwil/script-listings branch from 5de9314 to 540c9ff Compare January 11, 2017 22:08
@daviwil daviwil merged commit 86dd212 into develop Jan 12, 2017
@daviwil daviwil deleted the daviwil/script-listings branch January 12, 2017 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants