Function Pointer class member breaks Debugger view when class variable is expanded
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 17h 56m
- Merged PRs (30d)
- 21
Description
## Environment data
1. Windows 10: NET6, NET7
2. VS Community 2022 (latest)
3. VSCode (latest)
4. Omnisharp 1.25, 1.25.1beta
## OmniSharp log
Debug log within zip
## Steps to reproduce
Use VSCode project within zip and simply breakpoint past the list variable in Main as shown in the jpg.
## Expected behavior
Debugger variable view correctly expands instead of failing
## Actual behavior
Debugger variable view fails to expand variable
## Additional context
My usage scenario would be to dynamically load a native dll and store function pointers to the respective functions as members inside a custom class so the native functions can be called. The zip project reproduces the issue with a bare minimum example.
Tested with all combinations in the environmental data. Basically the exact same failure was observed across all configurations.
I am not sure if 1.25.1 beta has rolled in the fixes in #4091, which is said to fix a similar issue with a function pointer local: #4052
[fp_member.zip](https://github.com/OmniSharp/omnisharp-vscode/files/9860286/fp_member.zip)
Contributor guide
Assessment
This issue has not been assessed yet.