Skip to content
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

Debugger crashes when stepping-in #738

Closed
yobyot opened this issue May 12, 2017 · 6 comments
Closed

Debugger crashes when stepping-in #738

yobyot opened this issue May 12, 2017 · 6 comments
Labels
Resolution-Inactive Will close automatically.

Comments

@yobyot
Copy link

yobyot commented May 12, 2017

System Details

  • macOS 10.12.4
  • VS Code version: 1.12.1
  • PowerShell extension version: 1.0.0
  • Output from $PSVersionTable:
    PSVersion: 6.0.0-beta
    PSEdition: Core
    BuildVersion: 3.0.0.0
    CLRVersion:
    GitCommitId: v6.0.0-beta.1
    OS: Darwin 16.5.0 Darwin Kernel Version 16.5.0: F...
    Platform: Unix
    PSCompatibleVersions: {1.0, 2.0, 3.0, 4.0...}
    PSRemotingProtocolVersion: 2.3
    SerializationVersion: 1.1.0.1
    WSManStackVersion: 3.0
Copy / paste the below commands into the PowerShell Integrated Terminal, and paste the output here

PS /Users/alex/Documents/PowerShell> code -v
1.12.1
f6868fce3eeb16663840eb82123369dec6077a9b
PS /Users/alex/Documents/PowerShell> $pseditor.EditorServicesVersion
PS /Users/alex/Documents/PowerShell> code --list-extensions --show-versions
HookyQR.beautify@1.0.2
donjayamanne.githistory@0.2.0
eriklynd.json-tools@1.0.2
ms-vscode.PowerShell@1.0.0
robertohuertasm.vscode-icons@7.7.0
PS /Users/alex/Documents/PowerShell> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
BuildVersion                   3.0.0.0
CLRVersion
GitCommitId                    v6.0.0-beta.1
OS                             Darwin 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:...
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

I am experiencing a problem with...
debugging a script using module AWSPowerShell.NetCore. Script runs fine UNTIL it's debugged, at which point, a step-in will crash VS Code as shown in the attached screenshot

Attached Logs

Archive.zip

Image

2017-05-12_13-51-46

@daviwil daviwil added Area-Debugging Issue-Bug A bug to squash. labels May 15, 2017
@daviwil
Copy link
Contributor

daviwil commented May 15, 2017

Hey Alex, thanks for the report! I can't see an obvious issue in the logs, could you possibly provide me with the simplest script that reproduces the issue so I can try to catch it in the debugger?

@daviwil daviwil added this to the May 2017 milestone May 15, 2017
@yobyot
Copy link
Author

yobyot commented May 15, 2017

Thanks, David.

Is there an email address I can send the script to? To make sure you can run it, I have supplied read-only keys to an AWS account. I'd prefer not to post that here.

In the meantime, I am attaching the logs for a test of the script I'd send you which crashed in vscode (but not in a macOS PowerShell console).

debug.zip

Best,
Alex

@daviwil
Copy link
Contributor

daviwil commented May 15, 2017

Yep! Send it along to daviwil at microsoft.com. Thanks a lot!

@daviwil daviwil modified the milestones: May 2017, June 2017 Jun 1, 2017
@yobyot
Copy link
Author

yobyot commented Jun 26, 2017

Hi.

My symptoms have changed! Now, when debugging a PowerShell script on macOS in vscode 1.13.1 and PowerShell module 1.4.1 on beta 3 of PowerShell six, the first couple of step-ins execute. Then everything just hangs. It's usually after an Import-Module AWSPowerShell.NetCore, which is the latest version at 3.3.113.0.

What could I attach to this problem to help debug this issue? It's really the same issue as it's been: something about the combo of vscode and module AWSPowerShell.NetCore and debugging is not working.

Thanks.

Alex

image

@yobyot yobyot closed this as completed Jun 26, 2017
@yobyot yobyot reopened this Jun 26, 2017
@yobyot
Copy link
Author

yobyot commented Jun 26, 2017

Inadvertently closed by hitting the wrong button. ;-)

@daviwil daviwil modified the milestones: June 2017, July 2017 Jul 11, 2017
@daviwil daviwil modified the milestones: July 2017, Future Oct 26, 2017
@TylerLeonhardt TylerLeonhardt modified the milestone: Future May 24, 2018
@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented Dec 6, 2018

@hoetz I think your issue should go into #1183 like you did.

@yobyot are you still having your original issue on macOS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Inactive Will close automatically.
Projects
None yet
Development

No branches or pull requests

4 participants