title: Trace SQLite queries in C#
body: <p>I am working on an application in which we have recently upgraded the SQLite .NET interop from a several years old version to the newest version available. After performing the upgrade I have noticed that several queries are not returning the same results as they did previously and I suspect the .NET wrapper of being the cause of the problem.</p>
  
  <p>If the problem occurred in SQL Server, I would have started the profiler to see which queries were being generated, but for SQLite no such profiler exists.</p>
  
  <p>Is there any way to get a trace of which queries are being executed against an SQLite database (And if possible, is there a way to do it in .NET/C# also) ?</p>