Monthly Archives: May 2012
Posted by Godhc
Using Netbeans 7.1
I had a pointer variable declared as
As program continued ,i allocated size on the fly and at a point i needed to watch the contents of this pointer (as an array of values)
The watch pane of Netbeans does not reflect the values
Create a watch with *nodes@22
where you want to watch all the values in nodes
Attached Screenshot for reference
in the picture 1st three rows reflect the bug
and post that row is the solution ! Happy Debugging!!!!
Note: For n00bs , you can add a Watch in Variables too !!!