Skip to content

Debugger does not recover after incomplete PowerShell command used #1

@mrward

Description

@mrward

To repro:

  1. Create and save a new powershell file.
  2. Add one line to the file: Write-Output
  3. Put a breakpoint on that line
  4. Run the debugger.
  5. Breakpoint is hit.
  6. Allow the debugger to continue by clicking the Run button in the status bar.

Expected result:

  • PowerShell script finishes.

Actual result:

  • Status bar shows debugger still running. Presumably PowerShell is waiting for the user to provide parameters for the write-output command.
  • Stopping the debugger and then running it again does not hit any breakpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions