graphical-debugging-vscode icon indicating copy to clipboard operation
graphical-debugging-vscode copied to clipboard

no support for pointer arrays

Open fleafffb opened this issue 3 years ago • 6 comments

it would be nice to have support for allocated memory chunks and have them displayed like in MSVC debugger, for example ptr, 1024

with float *ptr this will be the same as an array ptr[1024].

fleafffb avatar Mar 02 '22 08:03 fleafffb

Yes, this feature is missing right now (as you suggested defined as ptr,size), as well as visualization of two 1d containers as container of points defined as container1;container2.

awulkiew avatar Mar 02 '22 09:03 awulkiew

Is there a schedule for this? As we have quite a lot of C style code the 'ptr,size' would be very welcome.

fleafffb avatar Mar 02 '22 09:03 fleafffb

No, I'm developing the extension in my free time and I don't have much of it right now. If you don't want to wait or doesn't have time for forking the repo and adding this you could switch from vscode to vscommunity and use this extension: https://marketplace.visualstudio.com/items?itemName=AdamWulkiewicz.GraphicalDebugging

awulkiew avatar Mar 02 '22 09:03 awulkiew

ah, cool, I didn't know this one. But actually I try to move away from VS in order to get more independent of the platform. If I find the time to dig into VS plugin development I might add a fork. Thanks for your fast responses.

fleafffb avatar Mar 02 '22 10:03 fleafffb

I'll keep it open because this should still be implemented.

awulkiew avatar Mar 02 '22 10:03 awulkiew

@fleafffb VS extension has this implemented, though the size has to be a number and cannot be a variable. The feature you need has to be added in this extension for VSC.

awulkiew avatar Mar 07 '22 09:03 awulkiew