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
Debugger shows only first element of dynamic array #688
Comments
@salda which OS and debugger are you using? |
Windows 10 with GDB. |
@salda Does what @AnthonyD973 suggested work for you in the watch window? I know the hover won't work. Unfortunately this would require work on gdb's side to allow visualization OR a custom visualizer (aka natvis). I'll mark it as a feature request in the meantime that we can investigate for a future release. |
Can anyone please tell how to use watch window |
Thanks a lot sir |
The former usually works in gdb, the latter is not implemented yet, see microsoft/MIEngine#1031.
Interesting. |
Interesting |
Whatever the debugger supports, so usually gdb. |
So, now in the year 2022, the problem is still here. Why? And how can I make it automatically show the whole array? |
arr,5 syntax got implemented, arr,[n] not yet: microsoft/MIEngine#1369 |
If I have a pointer to some type and give the pointer address of an array, is it possible to display all of the elements instead of the first one only?
For example:
Rectangle* baz = new Rectangle[2] { {2,5}, {3,6} };
displays
both via hovering over the baz variable and in VARIABLES->Locals section.
I think that issue #585 is different (I don't understand the problem of that issue).
The text was updated successfully, but these errors were encountered: