User forums > Help

Watch a complex struct when debugging

<< < (2/2)

killerbot:

--- Quote ---It seems like the watch *individuals only shows individuals[0]
--- End quote ---
Which is actually correct. NOte that C -arrays are not real arrays/vectors. The name of the C-arrays decays into a pointer to the type ==> *individuals is then actually the same as :

--- Code: ---int * foo = new int();

*foo;  // <-- same thing here

--- End code ---

oBFusCATed:
su1: Also it might be a good idea to try the debugger's branch nightly build or build a version directly from svn (wxpropgrid_debuggers).

su1:
Hey,

thanks for the tips, but it starts to be just over my competences to do that and would take me too much time that I don't have right now.

I was just checking if there was an easy solution, otherwise I'll just use seperate watches for individuals[0], individuals[1], etc..., even if it's not really user-friendly.

Navigation

[0] Message Index

[*] Previous page

Go to full version