question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WRN_GeneratorFailedDuringGeneration isn't helpful without a StackTrace

See original GitHub issue

I currently have a source generator that fails with:

CSC : warning CS8785: Generator 'MySourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentOutOfRangeException' with message 'Specified argument was out of the range of valid values.'

I think providing a StackTrace will be very useful.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
sharwellcommented, May 16, 2023

@xakep139 We don’t currently have the resources to work on resolving this, but if someone submitted a pull request to implement the behavior described in https://github.com/dotnet/roslyn/issues/48008#issuecomment-1341131212 it would significantly improve the timeline for delivering this fix. 😄

0reactions
xakep139commented, May 10, 2023

Folks, were there any updates on that issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

NullPointerException in Java with no StackTrace
The exception that is being logged has overloaded some methods to obscure the stacktrace. If that is the case, the exception won't be...
Read more >
Is it good practice to use NoStackTrace in scala?
This stack trace is very helpful when debugging problems to try to figure out where things are getting called from. One of the...
Read more >
Should a stack trace be in the error message presented to ...
To us, a stack trace looks like an extremely useful piece of information to provide a developer. To a user, it looks like...
Read more >
Programming without a stack trace: When abstractions ...
This stack trace includes a lot of not-very-useful information related to reflection from the JUnit test framework.
Read more >
Stack Trace: How to Debug Your Application With a ...
A stack trace can tell you a lot about the health of your application. Learn more about using a stack trace's valuable info...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found