[sqlite] Breakpoints uncorrelated on MSVC amalgamation build

2010-09-23 Thread Ben Harper
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


Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build

2010-09-23 Thread Teg
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


Re: [sqlite] Breakpoints uncorrelated on MSVC amalgamation build

2010-09-23 Thread Ben Harper
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

2010-09-23 Thread Virgilio Fornazin
Which MSVC compiler has this bug? There's a link to information on that ?

On Thu, Sep 23, 2010 at 10:17, Ben Harper b...@imqs.co.za 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

2010-09-23 Thread Ben Harper
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 b...@imqs.co.za 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

2010-09-23 Thread Shane Harrelson
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 b...@imqs.co.za 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 b...@imqs.co.za 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

2010-09-23 Thread Virgilio Fornazin
They are still using 16-bits offsets... arghh!

On Thu, Sep 23, 2010 at 14:10, Shane Harrelson sh...@sqlite.org 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 b...@imqs.co.za 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 b...@imqs.co.za 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