Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: eddyq on March 19, 2013, 03:41:14 pm

Title: Watching a strucure array
Post by: eddyq on March 19, 2013, 03:41:14 pm
I have a pointer to an array of structs. I want to watch the 1st 30 structs. If I watch the pointer it only watches the pointer itself. How can I watch the array?
Title: Re: Watching a strucure array
Post by: Radek on March 19, 2013, 05:41:14 pm
Right click the array in the Watches, select Dereference Pointer. If the array is long then right click again, select Properties, set from..to.