On Sat, Apr 17, 2010 at 11:08:49AM -0700, andrew fabbro scratched on the wall:
> I've been totally spoiled by Perl's DBI->trace functionality, which allows
> one to toggle SQL tracing on and off, and at various depths, so you can see
> what the engine is doing, what bind variables are being sent to it, etc.

  sqlite3_trace()
  http://www.sqlite.org/c3ref/profile.html


  Also see the build option SQLITE_ENABLE_IOTRACE
  http://www.sqlite.org/compile.html#enable_iotrace

  That only works out-of-the-box with the sqlite3 client, but looking
  at the code should make it clear how to integrate it into your own
  application for test purposes.

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Our opponent is an alien starship packed with atomic bombs.  We have
 a protractor."   "I'll go home and see if I can scrounge up a ruler
 and a piece of string."  --from Anathem by Neal Stephenson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to