Suggestion - local pointer displaying target
Posted: Tue Aug 31, 2010 6:59 am
When I look at pointers in the "Locals" window, what displays is the address of the data (which often I don't care about), not the data of interest. I have to do another step or two to get to the data, and often expand the + in the window that pops up.
But at the same time, I realize that pointers don't always point to something useful, and in fact, can be null.
But it'd be really neat if I could specify which pointers are pointing to valid data and have the data displayed directly in the locals window instead of having to pull up another window to view the data being pointed to. Or maybe there's some other solution for determining when a pointer has an "interesting" target?
Or perhaps you could have another column under Locals for "target data" and if the pointer contains a valid address, display at least the first item or two of whatever the pointer is pointing to.
But at the same time, I realize that pointers don't always point to something useful, and in fact, can be null.
But it'd be really neat if I could specify which pointers are pointing to valid data and have the data displayed directly in the locals window instead of having to pull up another window to view the data being pointed to. Or maybe there's some other solution for determining when a pointer has an "interesting" target?
Or perhaps you could have another column under Locals for "target data" and if the pointer contains a valid address, display at least the first item or two of whatever the pointer is pointing to.