Page 1 of 1

DBMonitor - SQL window blank but UseIdeOutput = true works

Posted: Mon 22 Feb 2010 13:51
by RobIntechnica
Hi

I'm trying to use DBMonitor to see what SQL is being generated with LINQ to Entities. DBMonitor shows Processes, the Object Tree and Call Tree and Events OK but SQL, Parameters and Call Stack are blank.

Should I be able to see the executed SQL, Call Stack and Parameters in DBMonitor? If so would there be any reason why this is not working for me?

If I use UseIdeOutput = true the SQL is outputted successfully to the debug window in Visual Studio when debugging but I still can't see it in DBMonitor.

For your info, I've created a DBMonitor instance and set IsActive to true in my domain service constructor.

Thanks in advance!

Posted: Mon 22 Feb 2010 14:53
by RobIntechnica
It seems to be working now! When UseIdeOutput = true is set I can see the SQL in dbMonitor. No need for a reply, thanks!