JaneySprings / DotNet.Meteor

A VSCode extension that can run and debug .NET apps (Xamarin, MAUI, Avalonia)
https://marketplace.visualstudio.com/items?itemName=nromanov.dotnet-meteor
MIT License
269 stars 10 forks source link

`gcdump` add more info in the log #95

Closed Pastajello closed 3 months ago

Pastajello commented 5 months ago

Hello, Im trying to collect gc dump using the extension. I was able to profile the app using the 'trace' profile, but gcdump is causing me problems.

Here is the config:

image

here is the output:

image

I've managed to get the dump using manual methods: image

JaneySprings commented 5 months ago

Hi @Pastajello ! Can you try this solution from the readme: https://github.com/JaneySprings/DotNet.Meteor?tab=readme-ov-file#troubleshooting ?

I think that dsrouter connection is not established

Pastajello commented 5 months ago

Yup, that fixed it!

(could you maybe add a way to add -v flag to the command?) Thanks!

JaneySprings commented 5 months ago

Yep, it's a good idea

JaneySprings commented 3 months ago

Hi, @Pastajello ! In the new .NET Meteor 5.1.0 version, I have connect the debug console input with dotnet-gcdump. You will be able to use this options:

image image

The new version will be available after the merge #107 pull request!