dbMonitor doesn't show all events

dbMonitor doesn't show all events

Postby 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?
kussaued
 
Posts: 5
Joined: Fri 08 Jul 2011 06:39

Re: dbMonitor doesn't show all events

Postby 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.
Pinturiccio
Devart Team
 
Posts: 1986
Joined: Wed 02 Nov 2011 09:44

Re: dbMonitor doesn't show all events

Postby 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
kussaued
 
Posts: 5
Joined: Fri 08 Jul 2011 06:39

Re: dbMonitor doesn't show all events

Postby Shalex » Fri 16 Aug 2013 15:30

We have asked you for an additional information by e-mail.
Shalex
Devart Team
 
Posts: 7660
Joined: Thu 14 Aug 2008 12:44

Re: dbMonitor doesn't show all events

Postby kussaued » Fri 23 Aug 2013 11:11

I sent additional information by email.
kussaued
 
Posts: 5
Joined: Fri 08 Jul 2011 06:39

Re: dbMonitor doesn't show all events

Postby Shalex » Mon 26 Aug 2013 07:35

We answered you by e-mail.
Shalex
Devart Team
 
Posts: 7660
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL