SQLite Forum

Debugging opcodes in vdbe.c
Rowan Worth (sqweek) wrote on 2020-09-25 08:58:49:

> The default behaviour depends on the tool, but for those which use glibc's stdio (FILE* and friends) it goes like this:

That's really helpful and I can see I'll be using stdbuf. I didn't know it existed, and I see it's in GNU coreutils and has been re-implemented for BSD so that's most of the platforms I use.

It isn't a solution for all the platforms SQLite supports though, and it does require some extra knowledge, which is why I feel that using sqlite3DebugPrintf() consistently throughout will improve SQLite.