question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paste a string for the password of Get-Credential crashes PSIC

See original GitHub issue

Issue Description

PSIC crashe

Steps to reproduce

  1. Create a file with the following content:

File.ps1

(Get-Credential -UserName 'Test' -Message 'Password please')
  1. Press F5 and the PSIC will ask you for the password.
  2. Copy a random string in the terminal and watch the PSIC crash
Version: 1.42.0-insider (system setup)
Commit: 33c79d5ad447956814a2a3658029dffb9e28bae6
Date: 2020-01-15T09:36:35.018Z
Electron: 7.1.7
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.14393

PowerShell Preview version 2020.10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rjmholtcommented, Jan 31, 2020

Looking into the solution now

1reaction
rjmholtcommented, Jan 31, 2020

I’ve managed to reproduce this now, and quite consistently.

For some reason _readLineCancellationSource is null here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fail to paste password into credential dialog box - Windows ...
This article provides help to fix a File system error that occurs when you paste password into a credential dialog box.
Read more >
ios - Custom NSTextStorage crashes when pasting text from ...
I was trying to subclass NSTextStorage. For now, I just follow the document, override for primitives: class TextStorage: NSTextStorage ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found