Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Improvements to the debugging code. (CVS 1979) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
bdc3bb070f7f29713b7bb9a6454a7ecb |
User & Date: | drh 2004-09-24 19:39:27.000 |
Context
2004-09-24
| ||
22:32 | Optimizations to vdbeaux.c and printf.c (CVS 1980) (check-in: eabc77c99b user: drh tags: trunk) | |
19:39 | Improvements to the debugging code. (CVS 1979) (check-in: bdc3bb070f user: drh tags: trunk) | |
12:50 | Fix typo in ".help" output from the shell. Ticket #914. (CVS 1978) (check-in: 1ee3a787ad user: drh tags: trunk) | |
Changes
Changes to src/printf.c.
︙ | ︙ | |||
810 811 812 813 814 815 816 | */ void sqlite3DebugPrintf(const char *zFormat, ...){ va_list ap; char zBuf[500]; va_start(ap, zFormat); base_vprintf(0, 0, zBuf, sizeof(zBuf), zFormat, ap); va_end(ap); | | | 810 811 812 813 814 815 816 817 818 819 820 | */ void sqlite3DebugPrintf(const char *zFormat, ...){ va_list ap; char zBuf[500]; va_start(ap, zFormat); base_vprintf(0, 0, zBuf, sizeof(zBuf), zFormat, ap); va_end(ap); fprintf(stdout,"%d: %s", getpid(), zBuf); fflush(stdout); } #endif |
Changes to src/vdbeaux.c.
︙ | ︙ | |||
436 437 438 439 440 441 442 | } } } return zP3; } | | | 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 | } } } return zP3; } #if !defined(NDEBUG) || defined(VDBE_PROFILE) || defined(SQLITE_DEBUG) /* ** Print a single opcode. This routine is used for debugging only. */ void sqlite3VdbePrintOp(FILE *pOut, int pc, Op *pOp){ char *zP3; char zPtr[50]; static const char *zFormat1 = "%4d %-13s %4d %4d %s\n"; |
︙ | ︙ |