-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Can't Inspect Static Class Variables in a Blazor Wasm App Using the Debugger #45104
Comments
Tagging subscribers to this area: @thaystg Issue DetailsI am not able to inspect properties and fields in static classes using the VS Community 2019 v16.8.2 debugger with an AspNetCore 5.0 Blazor Wasm app running on Chrome 86.0.4240.198. I have to assign them to local variables to be able to inspect the values. I have a small repro app that will show the problem, but it seems any app with a static class containing public properties/fields will do. I think this might be related to #42057, which encompassed an issue I submitted (#40245) plus one before that.
|
@lewing not sure whether this is a dupe of an existing issue or not. |
@radical can you take a look |
I'm hoping the 6.0.0 milestone (November, 2021) is only a preliminary target. This problem is a big productivity drain, and one I was hoping would have been fixed in the 5.0.0 release that addressed what appears to have been similar problems (#42057) as noted above. |
I should have a fix for this in a few weeks. |
@radical That would be great. I can't wait. |
@lewing Do we know if we should add any extra information to the response to allow the debugger to treat these as static members? I didn't see anything in CDP that might help. I'll surface them same as other members, for now. |
Just upgraded VS to v16.8.4 and confirmed that I am still experiencing this issue. @radical Any news? |
@thaystg is this fixed with |
No. |
I am not able to inspect properties and fields in static classes using the VS Community 2019 v16.8.2 debugger with an AspNetCore 5.0 Blazor Wasm app running on Chrome 86.0.4240.198. I have to assign them to local variables to be able to inspect the values. I have a small repro app that will show the problem, but it seems any app with a static class containing public properties/fields will do.
I think this might be related to #42057, which encompassed an issue I submitted (#40245) plus one before that.
The text was updated successfully, but these errors were encountered: