June 12, 2014 [Issue 12899] New: slices don't work in memory window | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12899 Issue ID: 12899 Summary: slices don't work in memory window Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal Priority: P1 Component: VisualD Assignee: nobody@puremagic.com Reporter: turkeyman@gmail.com In VS, Debug->Windows->Memory shows a memory view. Usually you can paste pointers in the address box and view the memory at that pointer. This doesn't work for slices. Instead, it shows the memory of the slice structure itself, not what it points to. Additionally, mySlice.ptr doesn't work in the debugger either. I can't work out how to get the pointer from a slice in expression evaluation. Slices appear as a struct with a single 'length' element, which you can view by pressing the '+' (expand) button next to the slice. But the expression mySlice.length doesn't work either. -- |
Copyright © 1999-2021 by the D Language Foundation