Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Arrys vs Vectors
Re: Arrys vs Vectors [message #30338 is a reply to message #30277] Sat, 25 December 2010 10:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
281264 wrote on Tue, 21 December 2010 11:23

Roger. DeepCopyOption is not needed. Your hints are also correct, thanks.

But, what about my question regarding Array<int> and the debugger? U++ is crashing when clicking in the container during debug.



Sorry about that. I would like to fix it, can you describe the exact way how to crash it?


Quote:


It is frustrating to see that the only way to inspect an Array is through a function.



Well, over years, I have rather got used to debug things trough .logs. Especially if larger data (-> containers) or GUI are in play, logging IMO is much more productive approach.

I believe it worth to try for you, just place DDUMPC(container) here and there and see how it goes... Smile

Another option is to use msdev.exe (Visual C++ environment) for debugging. I know Tom does this all the time. You can configure theide to use msdev as 'external' debugger. And today, it is free. But I doubt it is any helpfil with containers either.

Certainly, improving debugger would be nice to Smile

Hm, now thinking about it, maybe something like:

template <class T>
class Array : public MoveableAndDeepCopyOption< Array<T> > {
protected:
#ifdef _DEBUG
	Vector<T *> vector;
#else
	Vector<void *> vector;
#endif


might be helpful...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: asxml...or like I would like to keep encoding...
Next Topic: :( errors on sfx project
Goto Forum:
  


Current Time: Fri May 10 05:33:28 CEST 2024

Total time taken to generate the page: 0.02821 seconds