aws / aws/aws-lambda-dotnet

dotnet-lambda-test tool 6.0 doesn't support aws toolkit with Amazon Q

Open
#1,935 5 comments 0 reactions 1 assignee Claimed by @ashishdhingra View on GitHub
bug module/lambda-test-tool p2
Dominant language
C#
Stars
1.7k
Forks
503
Avg merge
1d 5h
Merged PRs (30d)
18

Description

### Describe the bug

When I installed aws toolkit with Amazon Q in my visual studio 2022, and tried to create an aws lambda project and after I debug this function and click "Mock lambda test tool" , the pop up window will open and suddenly debug model will terminate. The breakpoint can not be hit.
Please check if this is an issue for dotnet-lambda-test tool 6.0 with that aws toolkit version. Because now in visual studio 2022, now there is only this version "aws toolkit with Amazon Q" can be installed in "Extension manager".

![Image](https://github.com/user-attachments/assets/d0150f80-82c1-426f-8a85-4c6a6e512fbb)

![Image](https://github.com/user-attachments/assets/b654d321-e795-4d27-a477-d17372eff3ee)

![Image](https://github.com/user-attachments/assets/c005ac7a-a2ae-4956-999e-40ac8d9fb452)

![Image](https://github.com/user-attachments/assets/38886238-a9b8-4e7e-a83c-72ceabecc70f)

### Regression Issue

- [ ] Select this option if this issue appears to be a regression.

### Expected Behavior

It would be helpful if you can check this point and resolve it.

### Current Behavior

When use dotnet lambda test tool 6.0 and press F5 to debug, it throws output below

'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.36\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Users\*****\.dotnet\tools\.store\amazon.lambda.testtool-6.0\0.16.0\amazon.lambda.testtool-6.0\0.16.0\tools\net6.0\any\Amazon.Lambda.TestTool.BlazorTester.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.36\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Users\*****\.dotnet\tools\.store\amazon.lambda.testtool-6.0\0.16.0\amazon.lambda.testtool-6.0\0.16.0\tools\net6.0\any\Amazon.Lambda.TestTool.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.36\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[69912] dotnet-lambda-test-tool-6.0.exe' has exited with code 3221226505 (0xc0000409).

![Image](https://github.com/user-attachments/assets/ec0a017a-9f71-44ec-8a07-906e5685f434)

### Reproduction Steps

1. Install AWS toolkit with Amazon Q from "Manage Extensions".
2. You can create a sample code by creating aws lambda project(.NET core) and select an empty project template. Set up lambda test tool 6.0 for execution in your visual studio 2022.
3. After you press F5 for "Mock lambda test tool", you can reproduce that issue.

If you have any other concerns, please let me know about it.

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### AWS .NET SDK and/or Package version used

No other additional sdks

### Targeted .NET Platform

.NET 6

### Operating System and version

Windows 11

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.