Replies: 1 comment
-
You might be able to attach a debugger to one of the Rosyln processes. But I will look at adding some logs or diagnostics when exceptions get thrown in the source generator and then you can try that out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For one of my projects the generator throws this warning message:
CSC warning CS8785: Generator 'WinRTAotSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'IndexOutOfRangeException' with message 'Index was outside the bounds of the array.'.
How do I find out more details? Can I get a stacktrace or attach a debugger somehow?
I captured a binlog, but it does not seem to contain any additional details:
invalidIndex.zip
I am setting:
but I can not find any log.txt file.
I am sure I am doing something wrong, how can I find out what?
Beta Was this translation helpful? Give feedback.
All reactions