I am debugging in the Eclipse CDT and am working with some opaque pointers. In order to see the value in memory the pointers point to I recast the opaque pointers to the real datatypes.
eg.
struct Chunk {…}
typdef Chunk * Chunk_T
In eclipse I recast the Chunk_T back to Chunk * but it reset everytime I restart debugging. How can I maintain the variables as Chunk *?
I’m answering this myself. After looking around and asking about for quite awhile about this, it does not seem like there is an easy way of doing this in Eclipse.