... and put a breakpoint somewhere after adding a value (like line 4), I may be interested in seeing some info about the vector (such as number of items, etc).
Well, in the current version of Xcode (2.2.1), I don't see any usable info in the debugger window for ulVector. In addition, drilling down into the contents of the variable, I don't see any members that provide useful info either.
I'm pretty sure that in some previous version of Xcode, I at least saw a size:{x} in the summary column. Codewarrior kinda sucked with their implementation of debugging views for stl, but it was getting better, and I could at least see a size member if I drilled down far enough. And now that VS.Net 2005 has improved debugging for STL, I'm getting some grief from my Windows counterparts too :)
Now, we have created data formatters (CustomDataView) for wide strings, so we can certainly roll our own and get something useful ourselves, but what's confusing me is the presence of the Vector.plist in /Library/Application Support/Apple/Developer Tools/CustomDataViews. It has entries for various flavours of vectors (including specifically 'unsigned long' which is why I used the example above), along with a formatting string that just includes %1%, %2%, etc., which are just referring to 'child paths' by number; however, nothing shows up in the summary column at all.
So, anybody know how to get the Vectors.plist file to do anything, or have any other info about debugging STL containers in Xcode 2.2.1?
thanks,
robb olsen-albright
vernier software & technology
portland, or