Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix execution of debug prompt commands#1803

Merged
andyleejordan merged 2 commits into
masterPowerShell/PowerShellEditorServices:masterfrom
andschwa/debug-promptPowerShell/PowerShellEditorServices:andschwa/debug-promptCopy head branch name to clipboard
May 17, 2022
Merged

Fix execution of debug prompt commands#1803
andyleejordan merged 2 commits into
masterPowerShell/PowerShellEditorServices:masterfrom
andschwa/debug-promptPowerShell/PowerShellEditorServices:andschwa/debug-promptCopy head branch name to clipboard

Conversation

@andyleejordan

Copy link
Copy Markdown
Member

Thanks to a brilliant idea from Patrick, this simplifies how we choose which commands to execute through PowerShell's debugger API, and also fixes an issue where a user's custom prompt function wasn't aware that it was in the debugger.

This fixes PowerShell/vscode-powershell#3980.

Thanks to a brilliant idea from Patrick, this simplifies how we choose
which commands to execute through PowerShell's debugger API, and also
fixes an issue where a user's custom prompt function wasn't aware that
it was in the debugger.
@andyleejordan andyleejordan requested a review from a team May 17, 2022 19:41
@andyleejordan andyleejordan enabled auto-merge (squash) May 17, 2022 19:42

@SeeminglyScience SeeminglyScience left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing needs to change real quick otherwise LGTM

…chronousPowerShellTask.cs

Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
@andyleejordan

Copy link
Copy Markdown
Member Author

Good catch! Committed.

@SeeminglyScience SeeminglyScience self-requested a review May 17, 2022 19:46

@SeeminglyScience SeeminglyScience left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andyleejordan andyleejordan merged commit a4ea69a into master May 17, 2022
@andyleejordan andyleejordan deleted the andschwa/debug-prompt branch May 17, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Custom prompt function no longer sees PSDebugContext

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.