Skip to content
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

Function Pointer class member breaks Debugger view when class variable is expanded #5420

Open
LostTime76 opened this issue Oct 25, 2022 · 1 comment

Comments

@LostTime76
Copy link

LostTime76 commented Oct 25, 2022

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

@dibarbet
Copy link
Member

fyi @gregg-miskelly as a debugger issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants