4 ms·
FYI, I just installed 4.6.2 Dev, started a new project, made some sample code that I hoped would exhibit improvements to the NRE messaging, but it seems that th
by FLGMwt 10y ago
FYI, I just installed 4.6.2 Dev, started a new project, made some sample code that I hoped would exhibit improvements to the NRE messaging, but it seems that the messaging is the same. For example, if you have the following:
// the following is on ln:30
thing.NestedThing.NestedOtherThing.Property.NestedProperty
And you get a NRE on ln:30, you'll only get "NRE on line 30". Reading between the lines, the release notes imply that the support for additional context has been provided in the debugger APIs, but may not yet be consumed by Visual Studio. This is also supported by the fact that I didn't need a Visual Studio update to target 4.6.2.
Does anyone have any more context for this?
- joshschreuder 10y agoThat's the way I took it too - the framework is laying groundwork for better debugging support for NRE in VS v15 which is yet to be released. Perhaps they'll target it for VS 2015 update 4 as well?
- viggity 10y agomore info on this issue - https://github.com/dotnet/coreclr/issues/25 https://github.com/dotnet/coreclr/issues/25