Skip to content

While debugging, sometimes won't cancel, and "accepting" #299

@lzybkr

Description

@lzybkr

To repro:

PS> function foo {}
PS> sbp -command foo
PS> foo
[DBG]: PS>> (@($availableModules | ?{ $_.SessionState -eq $null
>> }).Count
>>
>> ^C

Important to this repro - hit enter twice (so you have one blank line) before hitting Ctrl+c.

After doing this, the command line should be cancelled, but it isn't, and figuring out how to fix the error might be hard, it's sometimes easiest to just exit PowerShell at that point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions