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
Support ',<number>' to visualize a pointer as an array #715
Comments
CC @WardenGnaw |
@digittigerw I believe you would evaluate something like @WardenGnaw do I have that right? |
Yeah, actually (int[20])*myArr works. Thanks for the help ! @WardenGnaw @gregg-miskelly |
@digittigerw Excellent. I will leave this open to track the possible future feature of supporting ','. |
@gregg-miskelly Cool. I'm really curious, can we add that support in MIEngine ? is interpretation (parsing) of the watch expression done by VS debugger engine or by debugger extension like MIEngine ? |
The MIEngine has a tiny bit of support for format specifier today. I think the only thing we implemented was |
MIEngine/src/MIDebugEngine/Engine.Impl/Variables.cs Lines 430 to 438 in 4f41195
We could actually use the |
Hi, with a VC++ project in VS, if I have a pointer like this:
int *myArr = new int[20];
I can watch the pointer "myArr" as an array in "Watch" windows, namely if I enter "myArr,2", it will show "myArr" as an array of int[2] like below
With my MIEngine debugger, that does not work. So my question it, is there a way to do that with MIEngine ? Or is there a workaround ?
Thanks !
The text was updated successfully, but these errors were encountered: