Add nongeneric base class for EntityCollection<T>

Posts   
 
    
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 05-Dec-2006 22:09:38   

Frans,

Please add a nongeneric base class for EntityCollection<T>. The reason is that I can't hook up a DebuggerVisualizer otherwise.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 05-Dec-2006 22:46:04   

Hmm, is the normal debuggervisualizer working for EntityCollection<T> ?

(you could use IEntityCollection2 too as the type)

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 05-Dec-2006 23:45:40   

It seems like it won't work with an interface and I messed something with generic parameter version, the hook should work now.

mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 08-Dec-2006 20:28:09   

I finally figured out why I didn't see my visualizer. Because my EntityCollection<> classes are decorated with DebuggerDisplay attribute. Oddly it turns off visualization for that class.

Now, before I adventure to find a solution, do you know by any chance a workaround?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 09-Dec-2006 12:12:05   

Not an easy one. The most simplest I think is that you place the debuggervisualizer in the runtime library debuggervisualizer project and remove the original one and recompile that project, place that dll in the vs.net debugger visualizer folder.

Frans Bouma | Lead developer LLBLGen Pro