On Mon, Dec 8, 2014 at 12:20 PM, Scott Robison <sc...@casaderobison.com> wrote:
> On Dec 8, 2014 2:10 AM, "Shinichiro Yoshioka" <dekochan...@gmail.com> > wrote: > > > > Hi, > > > > I'm about to use sqlite-amalgamation(sqlite3.c) on Visual C++. > > But although the compiling was successfully finished, even if I set break > > point > > on the source code, I can't trace the working line in sqlite3.c > correctly. > > As someone else said, the problem is that the Visual C++ debugger doesn't > play nice with files in excess of 64KiB lines. When I had this need a > couple years ago, I carefully split the sqlite3.c file into several pieces > and compiled them separately. > > >From the canonical SQLite source code you can type "make sqlite3-all.c" and it will generate a version of the amalgamation that #includes a handful of separate files (named sqlite3-N.c for N=1,2,3,....), each less than 32K lines in size. drh@bella:~/sqlite/bld$ make sqlite3-all.c tclsh /home/drh/sqlite/sqlite/tool/split-sqlite3c.tcl drh@bella:~/sqlite/bld$ wc sqlite3-*.c 32314 165952 1228350 sqlite3-1.c 30892 145495 1098859 sqlite3-2.c 32729 144742 1091870 sqlite3-3.c 32481 150359 1198841 sqlite3-4.c 23259 100070 768733 sqlite3-5.c 32 237 1518 sqlite3-all.c 151707 706855 5388171 total Include all these files in your project, but compile against just sqlite3-all.c. -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users