I can't believe this.
I am using Code::Blocks 8.02.
to the watch window, just as I did before every time. It displays the member structures, and it still shows garbage for the member struct values except for r_pt_by_SeqNum, which is correct.Code:*r_pt_by_SeqNum
BUT adding a watch specifically for a single struct like this
for any i shows the correct value for the sorted member variable seq_num.Code:*r_pt_by_SeqNum[i]
So the code seems to work, but what I am telling Code::Blocks to watch is wrong.
Watching *r_pt_by_SeqNum shows all structures, but with wrong values.
thank you, thank you, thank you!