Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build
They are still using 16-bits offsets... arghh! On Thu, Sep 23, 2010 at 14:10, Shane Harrelson wrote: > This limitation has been around for a while in the MS Visual > debuggers... I can't find the MSDN article that discusses it, but > once you exceed 64k lines, all bets are off. > > Work arounds include using the canonical source to build and debug, or > stripping comment lines, white space etc. from the amalgamation to get > below 64k. > > > HTH. > -Shane > > > On Thu, Sep 23, 2010 at 10:54 AM, Ben Harper wrote: > > I can't confirm this behaviour on anything other than 2010. But I seem to > recall the same business a few months ago, when I must have been on 2008. > > > > -Original Message- > > From: sqlite-users-boun...@sqlite.org [mailto: > sqlite-users-boun...@sqlite.org] On Behalf Of Virgilio Fornazin > > Sent: 23 September 2010 03:24 PM > > To: General Discussion of SQLite Database > > Subject: Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build > > > > Which MSVC compiler has this bug? There's a link to information on that ? > > > > On Thu, Sep 23, 2010 at 10:17, Ben Harper wrote: > > > >> I just discovered the MSVC compiler generates bad debug info for source > >> files larger than 64k lines, which is the case with the Sqlite > amalgamation. > >> Does anyone know of a workaround? > >> > >> Thanks, > >> Ben > >> ___ > >> sqlite-users mailing list > >> sqlite-users@sqlite.org > >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > >> > > ___ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > > > > ___ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build
This limitation has been around for a while in the MS Visual debuggers... I can't find the MSDN article that discusses it, but once you exceed 64k lines, all bets are off. Work arounds include using the canonical source to build and debug, or stripping comment lines, white space etc. from the amalgamation to get below 64k. HTH. -Shane On Thu, Sep 23, 2010 at 10:54 AM, Ben Harper wrote: > I can't confirm this behaviour on anything other than 2010. But I seem to > recall the same business a few months ago, when I must have been on 2008. > > -Original Message- > From: sqlite-users-boun...@sqlite.org > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Virgilio Fornazin > Sent: 23 September 2010 03:24 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build > > Which MSVC compiler has this bug? There's a link to information on that ? > > On Thu, Sep 23, 2010 at 10:17, Ben Harper wrote: > >> I just discovered the MSVC compiler generates bad debug info for source >> files larger than 64k lines, which is the case with the Sqlite amalgamation. >> Does anyone know of a workaround? >> >> Thanks, >> Ben >> ___ >> sqlite-users mailing list >> sqlite-users@sqlite.org >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build
I can't confirm this behaviour on anything other than 2010. But I seem to recall the same business a few months ago, when I must have been on 2008. -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Virgilio Fornazin Sent: 23 September 2010 03:24 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build Which MSVC compiler has this bug? There's a link to information on that ? On Thu, Sep 23, 2010 at 10:17, Ben Harper wrote: > I just discovered the MSVC compiler generates bad debug info for source > files larger than 64k lines, which is the case with the Sqlite amalgamation. > Does anyone know of a workaround? > > Thanks, > Ben > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build
Which MSVC compiler has this bug? There's a link to information on that ? On Thu, Sep 23, 2010 at 10:17, Ben Harper wrote: > I just discovered the MSVC compiler generates bad debug info for source > files larger than 64k lines, which is the case with the Sqlite amalgamation. > Does anyone know of a workaround? > > Thanks, > Ben > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build
OK. -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Teg Sent: 23 September 2010 03:20 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build Hello Ben, Thursday, September 23, 2010, 9:17:39 AM, you wrote: BH> I just discovered the MSVC compiler generates bad debug info for BH> source files larger than 64k lines, which is the case with the Sqlite amalgamation. BH> Does anyone know of a workaround? BH> Thanks, BH> Ben BH> ___ BH> sqlite-users mailing list BH> sqlite-users@sqlite.org BH> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users Don't use the amalgamation? That's one reason I don't use it. -- Best regards, Tegmailto:t...@djii.com ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build
Hello Ben, Thursday, September 23, 2010, 9:17:39 AM, you wrote: BH> I just discovered the MSVC compiler generates bad debug info for BH> source files larger than 64k lines, which is the case with the Sqlite amalgamation. BH> Does anyone know of a workaround? BH> Thanks, BH> Ben BH> ___ BH> sqlite-users mailing list BH> sqlite-users@sqlite.org BH> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users Don't use the amalgamation? That's one reason I don't use it. -- Best regards, Tegmailto:t...@djii.com ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users