jeudi 3 décembre 2015

Server code generating large amount of SQLite First Chance exceptions - cannot find where they are being thrown or observe any negative effects

The exact exception:

A first chance exception of type 'System.Data.SQLite.SQLiteException' occurred in System.Data.SQLite.dll

I have everywhere that touches an SQLite database wrapped in a try/catch, basically:

catch (Exception ex) {
  Console.WriteLine(ex.Message);
  Console.WriteLine(ex.InnerException);
  return 0;
}

I have breakpoint inside of every catch where SQLite is used. If I run a few simulators, basically programs I made to send messages rapidly to the server, I can see the server throwing those exceptions in the output quite a lot in the debug output window, but the breakpoints inside of the catch's will never be hit, and there doesn't appear to ever be a row that gets dropped/not updated.

If I can't find anywhere these exceptions are being thrown or see any rows not properly being inserted/updated, do I need to worry about these exceptions?

I should also note that my test programs are receiving the correct acknowledgments back from the server.

Aucun commentaire:

Enregistrer un commentaire