How to use dbMonitor

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 1
Joined: Fri 09 Sep 2011 21:30

How to use dbMonitor

Post by jayBishtawi » Fri 09 Sep 2011 21:40

Hello all,

I have a Silverlight 4 project, EF4, using RIA Service and dotConnect for Oracle, I have downloaded the db Mointor, but I am not sure how to use it to trace the SQL generated.

Any one can help or point me to the right place please.

Posts: 39
Joined: Tue 20 Jul 2010 15:13

Post by wgkwvl » Mon 12 Sep 2011 09:17

You will have to activate the monitoring in code :

mon = new Devart.Data.Oracle.OracleMonitor();
mon.IsActive = true;

I also use it to output the monitored statements to logfile / output console at debug time :
mon.TraceEvent += new Devart.Common.MonitorEventHandlermon_TraceEvent);

You best parametrise this code, so you can switch it off in production code

Devart Team
Posts: 8079
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 12 Sep 2011 15:46

wgkwvl, thank you for posting.

jayBishtawi, please refer to ... nitor.html.

Post Reply