When compiling the amalgamated sqlite3.c from www.sqlite.org, the file is over 100,000 lines long. When tracing into the file, the wrong line number is found. For example, tracing to openDatabase is actual line 106372, but the debugger thinks it is 40840, which is a difference of 65532, which indicates almost a 16 bit line counter wrap. Because of the wrap, the debugger brings up the source file, but goes to the incorrect line number. And gets totally confused.
Is there a way to get around this for the time being?