X Tutup
The Wayback Machine - https://web.archive.org/web/20210215085219/https://github.com/aws/aws-lambda-dotnet/issues/804
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

Lambda Test Tool starting with paused state #804

Open
rohit3d2003 opened this issue Feb 6, 2021 · 5 comments
Open

Lambda Test Tool starting with paused state #804

rohit3d2003 opened this issue Feb 6, 2021 · 5 comments

Comments

@rohit3d2003
Copy link

@rohit3d2003 rohit3d2003 commented Feb 6, 2021

Description

Created a brand new AWS Serverless project and started Mock test tool. It ran with a paused state

image

Reproduction Steps

  1. Create AWS Serverless Application Project
  2. Click Mock Lambda Test Tool

Environment

  • Build Version: 0.11.1
  • OS Info: Windows 10 19042.746
  • Build Environment: Visual Studio 2019
  • Targeted .NET Platform: .Net Core 3.1
@ashishdhingra
Copy link
Contributor

@ashishdhingra ashishdhingra commented Feb 7, 2021

Hi @rohit3d2003,

Good morning.

The error clearly states that the execution is paused on the debugger. This could also happen if there is exception in your code which also causes debugger to pause. Please check your Visual Studio state.

Thanks,
Ashish

@rohit3d2003
Copy link
Author

@rohit3d2003 rohit3d2003 commented Feb 7, 2021

@ashishdhingra - I created a brand new project with AWS Empty Serverless template and hence there isn't any custom code that's throwing an exception. Also, there isn't any breakpoint in code as well

Screen Shot 2021-02-07 at 7 44 49 AM

@ashishdhingra
Copy link
Contributor

@ashishdhingra ashishdhingra commented Feb 8, 2021

Hi @rohit3d2003,

Could you please share the template used for Lambda serverless project - is it targeting .NET Core 3.1 or .NET 5 Container image?

Thanks,
Ashish

@rohit3d2003
Copy link
Author

@rohit3d2003 rohit3d2003 commented Feb 8, 2021

Hi @ashishdhingra - it is targeting .Net Core 3.1. To my surprise, all the previous AWS Serverless Applications that I had build targeting .Net Core 3.1 are running into same issue which makes me believe that some update have corrupted the installation.

Things I have already tried:

  • Uninstall & Reinstall DotNetTest tools
  • Updated VS to latest available version
  • Updated Windows to latest version
@ashishdhingra
Copy link
Contributor

@ashishdhingra ashishdhingra commented Feb 8, 2021

Hi @ashishdhingra - it is targeting .Net Core 3.1. To my surprise, all the previous AWS Serverless Applications that I had build targeting .Net Core 3.1 are running into same issue which makes me believe that some update have corrupted the installation.

Things I have already tried:

  • Uninstall & Reinstall DotNetTest tools
  • Updated VS to latest available version
  • Updated Windows to latest version

Hi @rohit3d2003,

Unfortunately, I'm unable to reproduce the issue. I created a new AWS Lambda Serverless project and ran the project with Lambda Test Tool. It worked perfectly fine as shown in the below screenshot:
Screen Shot 2021-02-08 at 11 09 33 AM

Yes, if I stop the debugging, then I see the same behavior as you reported (which is expected):
Screen Shot 2021-02-08 at 11 17 28 AM

Just FYI, I'm using version 0.11.1 of Mock Lambda Test tool and AWS Toolkit for Visual Studio 2019 version 1.20.1.0.

Thanks,
Ashish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
X Tutup