Can't get debug visualizers working

Posts   
 
    
Posts: 17
Joined: 24-Apr-2006
# Posted on: 05-Jul-2006 21:37:42   

I have installed the visualizers per the instructions in the v2 documentation but I can't get any of the visualizations working. I'm using .NET 2.0 generated code in VS2005 but for the life of me, I can't figure out what's wrong.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 05-Jul-2006 23:11:06   

do the magnifier icons appear when you hit a breakpoint and you hover an entitycollection for example? or do you get an error? Also is your application an asp.net application?

Frans Bouma | Lead developer LLBLGen Pro
Posts: 17
Joined: 24-Apr-2006
# Posted on: 05-Jul-2006 23:24:18   

I don't get any magnifying glasses on EntityCollections, Predicates, etc. as specified in the docs. There are no errors. I tested against a console app as well as an ASP.NET app but neither worked.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 06-Jul-2006 09:46:26   

Do you get debug visualizers for basic dataTypes (string for instance)?

Posts: 17
Joined: 24-Apr-2006
# Posted on: 06-Jul-2006 16:56:09   

Yes, I get the regular Text, HTML, and XML visualizers. I am using custom SD.LLBLGen.Pro.DQE.SqlServer.dll and SD.LLBLGen.Pro.ORMSupportClasses.dll DLLs as I've made some modifications to them to suit our purposes.

Those are the DLLs that I copied to the Visualizers folders and not the DLLs in the SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll and SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll. However, using even the NET20 DLLs didn't work either.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 06-Jul-2006 17:27:09   

colinhumber wrote:

Yes, I get the regular Text, HTML, and XML visualizers. I am using custom SD.LLBLGen.Pro.DQE.SqlServer.dll and SD.LLBLGen.Pro.ORMSupportClasses.dll DLLs as I've made some modifications to them to suit our purposes.

aha! then you have to build the debugvisualizers as well. As these reference the shipped runtime libraries and thus the signatures of the assemblies don't match with what you use in your project. The debugvisualizers code is in the runtimelibs sourcecode folder as well.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 17
Joined: 24-Apr-2006
# Posted on: 06-Jul-2006 17:57:00   

Of course...yep, that did it. Recompiled with references to my modified runtime libraries and it works like a charm! Thanks for you help!