This is a simple ODBC tracer that can be used to trace ODBC calls. It can be easily modified for custom ODBC tracing needs.
-
cargo build --release --profile release --lib --target x86_64-pc-windows-msvc
- Copy the resulting
target/x86_64-pc-windows-msvc/release/odbc_tracer.dll
toC:\Windows\System32
. - Select the new dll in the ODBC tracing settings.
- Select the desired trace location in the ODBC tracing settings.
- Start tracing and apply.