Page 1 of 1

dbMonitor doesn't show all events

Posted: Tue 13 Aug 2013 08:48
by kussaued
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?

Re: dbMonitor doesn't show all events

Posted: Wed 14 Aug 2013 14:55
by Pinturiccio
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.

Re: dbMonitor doesn't show all events

Posted: Thu 15 Aug 2013 05:45
by kussaued
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

Re: dbMonitor doesn't show all events

Posted: Fri 16 Aug 2013 15:30
by Shalex
We have asked you for an additional information by e-mail.

Re: dbMonitor doesn't show all events

Posted: Fri 23 Aug 2013 11:11
by kussaued
I sent additional information by email.

Re: dbMonitor doesn't show all events

Posted: Mon 26 Aug 2013 07:35
by Shalex
We answered you by e-mail.