dbMonitor doesn't show all events

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
kussaued
Posts: 7
Joined: Fri 08 Jul 2011 06:39

dbMonitor doesn't show all events

Post by kussaued » Tue 13 Aug 2013 08:48

I'm using dbMonitor to trace communication with my MySql database. The monitor fails to show some events. Even if I run the same simple console application multiple times, the results shown in dbMonitor vary with each run.

Sample code from console app:

Code: Select all

   
MyDatabase.DbMonitorEnabled = true;
            
using (MyDatabase db = new MyDatabase())
{
	db.Open(parameters);

	IEnumerable<Transponder> transp = db.Transponders;
	List<Transponder> test = transp.ToList();

	IEnumerable<Reader> readers = db.Readers;
	foreach (Reader reader in readers)
	{
		int? typeId = reader.ReaderTypeId;

		ReaderType type = reader.ReaderType;
		int id = type.Id;
	}
}
My Setup:
  • dbMonitor V3.04
    dotConnect for MySql V7.7.301.0
    Visual Studio 2010
    Windows 7 Client
    Windows XP Server running locally as virtual machine
    MySql Database Version 5.6.11
    My test application and dbMonitor run on the same machine
What I checked so far:
  • all dbMonitor settings as per default
    event filters settings are ok
    setting of DbMonitorEnabled checked in watch window
Why is the dbMonitor not showing all events?

Pinturiccio
Devart Team
Posts: 2192
Joined: Wed 02 Nov 2011 09:44

Re: dbMonitor doesn't show all events

Post by Pinturiccio » Wed 14 Aug 2013 14:55

Your sample uses the MyDatabase class that implements the use of a MySqlMonitor object. Unfortunately, we don't know its implementation.

Please send us a complete test project with the corresponding DDL/DML scripts for reproducing the issue.

kussaued
Posts: 7
Joined: Fri 08 Jul 2011 06:39

Re: dbMonitor doesn't show all events

Post by kussaued » Thu 15 Aug 2013 05:45

I did send a small example application.

The MyDatabase class is just a wrapper around the entity class created by Devart Entity Developer tool using Entity Framework DbContext template. I included it in the code I sent you.

Kind regards

Shalex
Site Admin
Posts: 8239
Joined: Thu 14 Aug 2008 12:44

Re: dbMonitor doesn't show all events

Post by Shalex » Fri 16 Aug 2013 15:30

We have asked you for an additional information by e-mail.

kussaued
Posts: 7
Joined: Fri 08 Jul 2011 06:39

Re: dbMonitor doesn't show all events

Post by kussaued » Fri 23 Aug 2013 11:11

I sent additional information by email.

Shalex
Site Admin
Posts: 8239
Joined: Thu 14 Aug 2008 12:44

Re: dbMonitor doesn't show all events

Post by Shalex » Mon 26 Aug 2013 07:35

We answered you by e-mail.

Post Reply