aws / aws/aws-lambda-dotnet

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

Aperta
#1,935 5 commenti 0 reazioni 1 assegnatario Rivendicata da @ashishdhingra Vedi su GitHub
bug module/lambda-test-tool p2
Lingua principale
C#
Stelle
1.7k
Fork
503
Merge medio
1g 13h
PR unite (30g)
19

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.