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

Internal error in the C# compiler happens very frequently #76661

Open
Woudjee opened this issue Jan 4, 2025 · 4 comments
Open

Internal error in the C# compiler happens very frequently #76661

Woudjee opened this issue Jan 4, 2025 · 4 comments
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@Woudjee
Copy link

Woudjee commented Jan 4, 2025

Hi,

Whilst debugging and trying to resolve issues, I use the hot reload feature to commit minor changes to see the behaviour of my changes. However, ever since .NET 9.0, I seem to get compiler errors very frequently. I have no clear steps to reproduce the behaviour, but the result looks like this:

Image

I understand that I am vague, but the clearest that I can be:

  • Run the code
  • Make some changes
  • Hot reload
  • Continue debugging
  • Exception

I'm afraid I cannot make it clearer than this, as this sometimes works and sometimes does not (I'd say this happens to me in around 30% of my debugging sessions and it is very frustrating).

Kind regards, Woudjee

@eiriktsarpalis
Copy link
Member

FYI @dotnet/roslyn @dotnet/roslyn-ide

@CyrusNajmabadi
Copy link
Member

@tmat ?

@carlossanlop carlossanlop transferred this issue from dotnet/core Jan 7, 2025
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 7, 2025
@tmat
Copy link
Member

tmat commented Jan 7, 2025

@Woudjee To investigate we need a memory dump of the process being debugged at the time the error is shown, the expression being evaluated and the current call stack. Please file a VS Feedback ticket with this info.

@Woudjee
Copy link
Author

Woudjee commented Jan 7, 2025

@tmat do you have a tutorial that I can follow in order to give you that information? I will try to make it this week!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

6 participants
@tmat @jaredpar @eiriktsarpalis @CyrusNajmabadi @Woudjee and others