Re: [sqlite] 3.7.9 amalgamation file in VS2005

2011-12-29 Thread Michael Stephenson
The Visual Studio debugger has a limitation of 64K lines in a source file for 
code stepping.  Well, actually the debugger is fine, it's a limitation of 
Visual Studio itself that has been reported to Microsoft (maybe a decade ago) 
but never fixed.

WinDbg is almost as good.

Another solution is to compile at least a debug version from the 
non-amalgamated, preprocessed source (assuming that is still available) by 
adding all of the files to a VS project and removing a few files from the 
project.

Another possible solution might be to break up the amalgamation into smaller 
files, renaming all but the last piece as .h, having each piece 
include the previous piece.  I haven't tried this, but it might work.

-Original Message-
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] 
On Behalf Of Jens Frederich
Sent: Friday, December 30, 2011 1:03 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] 3.7.9 amalgamation file in VS2005

IntelliSence on/off doesn't solve the stepping problem. Maybe it's a MSVC 
problem. My pracmatic solution is take WinDbg. 
 
Jens

Am 29.12.2011 um 15:17 schrieb "Black, Michael (IS)" <michael.bla...@ngc.com>:

> What happens if you disable IntelliSense?
> 
> 
> 
> Tools/Options/Text Editor/C++/Advanced -- IntelliSense/Disable 
> IntelliSense=True
> 
> 
> 
> Michael D. Black
> 
> Senior Scientist
> 
> Advanced Analytics Directorate
> 
> Advanced GEOINT Solutions Operating Unit
> 
> Northrop Grumman Information Systems
> 
> 
> From: sqlite-users-boun...@sqlite.org 
> [sqlite-users-boun...@sqlite.org] on behalf of Jens Frederich 
> [jfreder...@gmail.com]
> Sent: Thursday, December 29, 2011 12:47 AM
> To: General Discussion of SQLite Database
> Subject: EXT :Re: [sqlite] 3.7.9 amalgamation file in VS2005
> 
> Hi,
> 
> I duplicated your problem on C++ 2011 Professional. Source code 
> stepping doesn't work.
> My solution is to remove all comment lines.
> 
> Jens
> 
> 
> On Wed, Dec 28, 2011 at 2:09 PM, Teg <t...@djii.com> wrote:
> 
>> 
>> Yeah,  I  was  wrong. Color syntax highlighting does work. It's 
>> single stepping into the code that doesn't. Sorry.
>> 
>> C
>> 
>> 
>> Wednesday, December 28, 2011, 3:04:39 AM, you wrote:
>> 
>> AN> Dear Michael,
>> AN>
>> AN> thanks for trying this out. Not at the moment but I will consider
>> upgrading for the future.
>> AN>
>> AN> In fact I was surprised about this problem because amalgamation 
>> AN> file version 3.7.7.1 still *has* correct highlighting in both
>> AN> VS2005 and 2008. The 3.7.9 amalgamation fle is, of course, 
>> AN> larger, but the difference does not seem to be so big so that the 
>> AN> highlighting should fail. So maybe there might be some syntax 
>> AN> elements in 3.7.9 (large comments or whatever) causing this 
>> AN> behaviour or there is really a maximum source file size that
>> AN> VS2005 and 2008 syntax highlighter can support, which was reached
>> between 3.7.7.1 and 3.7.9.
>> AN>
>> AN> Thanks
>> AN>
>> AN> Alex
>> AN> __
>>>> Od: "Black, Michael (IS)"
>>>> Komu: General Discussion of SQLite Database
>>>> Datum: 27.12.2011 23:36
>>>> Předmět: Re: [sqlite] 3.7.9 amalgamation file in VS2005
>>>> 
>> AN> I duplicated your problem on C++ 2005 Express and C++ 2008 Express.
>> 
>> 
>> 
>> AN> C++ 2010 Express does the syntax highlighting correctly (or at 
>> AN> C++ least a
>> lot better).
>> 
>> 
>> 
>> AN> Can you upgrade?
>> 
>> 
>> 
>> AN> Michael D. Black
>> 
>> AN> Senior Scientist
>> 
>> AN> Advanced Analytics Directorate
>> 
>> AN> Advanced GEOINT Solutions Operating Unit
>> 
>> AN> Northrop Grumman Information Systems
>> 
>> AN> 
>> AN> From: sqlite-users-boun...@sqlite.org 
>> AN> [sqlite-users-boun...@sqlite.org] on behalf of Alexandr Němec [
>> a.ne...@atlas.cz]
>> AN> Sent: Tuesday, December 27, 2011 8:55 AM
>> AN> To: sqlite-users@sqlite.org
>> AN> Subject: EXT :[sqlite] 3.7.9 amalgamation file in VS2005
>> 
>> 
>> AN> Dear all,
>> 
>> AN> I have one question that is not strictly a SQLite question 
>> AN> (sorry), but maybe someone encountered this problem and found the 
>> AN> solution. I have upgraded from an older SQLite release to

Re: [sqlite] 3.7.9 amalgamation file in VS2005

2011-12-29 Thread Jens Frederich
IntelliSence on/off doesn't solve the stepping problem. Maybe it's a MSVC 
problem. My pracmatic solution is take WinDbg. 
 
Jens

Am 29.12.2011 um 15:17 schrieb "Black, Michael (IS)" <michael.bla...@ngc.com>:

> What happens if you disable IntelliSense?
> 
> 
> 
> Tools/Options/Text Editor/C++/Advanced -- IntelliSense/Disable 
> IntelliSense=True
> 
> 
> 
> Michael D. Black
> 
> Senior Scientist
> 
> Advanced Analytics Directorate
> 
> Advanced GEOINT Solutions Operating Unit
> 
> Northrop Grumman Information Systems
> 
> 
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
> behalf of Jens Frederich [jfreder...@gmail.com]
> Sent: Thursday, December 29, 2011 12:47 AM
> To: General Discussion of SQLite Database
> Subject: EXT :Re: [sqlite] 3.7.9 amalgamation file in VS2005
> 
> Hi,
> 
> I duplicated your problem on C++ 2011 Professional. Source code stepping
> doesn't work.
> My solution is to remove all comment lines.
> 
> Jens
> 
> 
> On Wed, Dec 28, 2011 at 2:09 PM, Teg <t...@djii.com> wrote:
> 
>> 
>> Yeah,  I  was  wrong. Color syntax highlighting does work. It's single
>> stepping into the code that doesn't. Sorry.
>> 
>> C
>> 
>> 
>> Wednesday, December 28, 2011, 3:04:39 AM, you wrote:
>> 
>> AN> Dear Michael,
>> AN>
>> AN> thanks for trying this out. Not at the moment but I will consider
>> upgrading for the future.
>> AN>
>> AN> In fact I was surprised about this problem because amalgamation
>> AN> file version 3.7.7.1 still *has* correct highlighting in both
>> AN> VS2005 and 2008. The 3.7.9 amalgamation fle is, of course, larger,
>> AN> but the difference does not seem to be so big so that the
>> AN> highlighting should fail. So maybe there might be some syntax
>> AN> elements in 3.7.9 (large comments or whatever) causing this
>> AN> behaviour or there is really a maximum source file size that
>> AN> VS2005 and 2008 syntax highlighter can support, which was reached
>> between 3.7.7.1 and 3.7.9.
>> AN>
>> AN> Thanks
>> AN>
>> AN> Alex
>> AN> __
>>>> Od: "Black, Michael (IS)"
>>>> Komu: General Discussion of SQLite Database
>>>> Datum: 27.12.2011 23:36
>>>> Předmět: Re: [sqlite] 3.7.9 amalgamation file in VS2005
>>>> 
>> AN> I duplicated your problem on C++ 2005 Express and C++ 2008 Express.
>> 
>> 
>> 
>> AN> C++ 2010 Express does the syntax highlighting correctly (or at least a
>> lot better).
>> 
>> 
>> 
>> AN> Can you upgrade?
>> 
>> 
>> 
>> AN> Michael D. Black
>> 
>> AN> Senior Scientist
>> 
>> AN> Advanced Analytics Directorate
>> 
>> AN> Advanced GEOINT Solutions Operating Unit
>> 
>> AN> Northrop Grumman Information Systems
>> 
>> AN> 
>> AN> From: sqlite-users-boun...@sqlite.org
>> AN> [sqlite-users-boun...@sqlite.org] on behalf of Alexandr Němec [
>> a.ne...@atlas.cz]
>> AN> Sent: Tuesday, December 27, 2011 8:55 AM
>> AN> To: sqlite-users@sqlite.org
>> AN> Subject: EXT :[sqlite] 3.7.9 amalgamation file in VS2005
>> 
>> 
>> AN> Dear all,
>> 
>> AN> I have one question that is not strictly a SQLite question
>> AN> (sorry), but maybe someone encountered this problem and found the
>> AN> solution. I have upgraded from an older SQLite release to 3.7.9
>> AN> and loaded the amalgamation file into a Visual Studio 2005
>> AN> project. But the syntax code highlighter does not behave correctly
>> AN> with the 3.7.9 amalgamation file because it greys out not only the
>> AN> sections of code that are not compiled at all (because of
>> AN> if(n)def's) but also other sections that DO compile. Well, I think
>> AN> that this is a bug of the VS 2005 syntax highlighter for such a
>> AN> large source file, because the file compiles ok, but working with
>> AN> such a file in VS 2005 is frustrating.
>> 
>> AN> Did anyone see (did anyone find a solution for) this problem? I
>> AN> have not seen this for older versions of the amalgamation file.
>> 
>> AN> Best regards
>> 
>> AN> Alex
>> AN> ___
>> AN> sqlite-users mailing list
>> AN> sqlite-users@sqlite.org
>> A

Re: [sqlite] 3.7.9 amalgamation file in VS2005

2011-12-29 Thread Black, Michael (IS)
What happens if you disable IntelliSense?



Tools/Options/Text Editor/C++/Advanced -- IntelliSense/Disable IntelliSense=True



Michael D. Black

Senior Scientist

Advanced Analytics Directorate

Advanced GEOINT Solutions Operating Unit

Northrop Grumman Information Systems


From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Jens Frederich [jfreder...@gmail.com]
Sent: Thursday, December 29, 2011 12:47 AM
To: General Discussion of SQLite Database
Subject: EXT :Re: [sqlite] 3.7.9 amalgamation file in VS2005

Hi,

I duplicated your problem on C++ 2011 Professional. Source code stepping
doesn't work.
My solution is to remove all comment lines.

Jens


On Wed, Dec 28, 2011 at 2:09 PM, Teg <t...@djii.com> wrote:

>
> Yeah,  I  was  wrong. Color syntax highlighting does work. It's single
> stepping into the code that doesn't. Sorry.
>
> C
>
>
> Wednesday, December 28, 2011, 3:04:39 AM, you wrote:
>
> AN> Dear Michael,
> AN>
> AN> thanks for trying this out. Not at the moment but I will consider
> upgrading for the future.
> AN>
> AN> In fact I was surprised about this problem because amalgamation
> AN> file version 3.7.7.1 still *has* correct highlighting in both
> AN> VS2005 and 2008. The 3.7.9 amalgamation fle is, of course, larger,
> AN> but the difference does not seem to be so big so that the
> AN> highlighting should fail. So maybe there might be some syntax
> AN> elements in 3.7.9 (large comments or whatever) causing this
> AN> behaviour or there is really a maximum source file size that
> AN> VS2005 and 2008 syntax highlighter can support, which was reached
> between 3.7.7.1 and 3.7.9.
> AN>
> AN> Thanks
> AN>
> AN> Alex
> AN> __________
> >> Od: "Black, Michael (IS)"
> >> Komu: General Discussion of SQLite Database
> >> Datum: 27.12.2011 23:36
> >> Předmět: Re: [sqlite] 3.7.9 amalgamation file in VS2005
> >>
> AN> I duplicated your problem on C++ 2005 Express and C++ 2008 Express.
>
>
>
> AN> C++ 2010 Express does the syntax highlighting correctly (or at least a
> lot better).
>
>
>
> AN> Can you upgrade?
>
>
>
> AN> Michael D. Black
>
> AN> Senior Scientist
>
> AN> Advanced Analytics Directorate
>
> AN> Advanced GEOINT Solutions Operating Unit
>
> AN> Northrop Grumman Information Systems
>
> AN> 
> AN> From: sqlite-users-boun...@sqlite.org
> AN> [sqlite-users-boun...@sqlite.org] on behalf of Alexandr Němec [
> a.ne...@atlas.cz]
> AN> Sent: Tuesday, December 27, 2011 8:55 AM
> AN> To: sqlite-users@sqlite.org
> AN> Subject: EXT :[sqlite] 3.7.9 amalgamation file in VS2005
>
>
> AN> Dear all,
>
> AN> I have one question that is not strictly a SQLite question
> AN> (sorry), but maybe someone encountered this problem and found the
> AN> solution. I have upgraded from an older SQLite release to 3.7.9
> AN> and loaded the amalgamation file into a Visual Studio 2005
> AN> project. But the syntax code highlighter does not behave correctly
> AN> with the 3.7.9 amalgamation file because it greys out not only the
> AN> sections of code that are not compiled at all (because of
> AN> if(n)def's) but also other sections that DO compile. Well, I think
> AN> that this is a bug of the VS 2005 syntax highlighter for such a
> AN> large source file, because the file compiles ok, but working with
> AN> such a file in VS 2005 is frustrating.
>
> AN> Did anyone see (did anyone find a solution for) this problem? I
> AN> have not seen this for older versions of the amalgamation file.
>
> AN> Best regards
>
> AN> Alex
> AN> ___
> AN> sqlite-users mailing list
> AN> sqlite-users@sqlite.org
> AN> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> AN> ___
> AN> sqlite-users mailing list
> AN> sqlite-users@sqlite.org
> AN> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
>
>
>
> --
> 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
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] 3.7.9 amalgamation file in VS2005

2011-12-29 Thread Jens Frederich
You can take WinDbg to step through the amalgamation sqlite3.c source file.
It works very well.

Jens

On Thu, Dec 29, 2011 at 8:18 AM, Roger Binns  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 28/12/11 22:47, Jens Frederich wrote:
> > I duplicated your problem on C++ 2011 Professional. Source code
> > stepping doesn't work. My solution is to remove all comment lines.
>
> There is a TCL based tool in the SQLite source that will split the
> amalgamation into multiple files with a specified maximum number of lines
> per file.  It is aware of how the amalgamation is constructed hence
> getting things right like not splitting in a bad place.
>
>  http://www.sqlite.org/src/finfo?name=tool/split-sqlite3c.tcl
>
> (The interface Fossil presents is a little annoying if you just want to
> download/view the most recent version of the file.  Some clicking will get
> you to the right page.)
>
> Roger
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEARECAAYFAk78FC4ACgkQmOOfHg372QSh5gCeJsPAk1VjhH0Z/rQ2/ihzw8pa
> mDAAoJkwyX17EFULqmbZ6rLpnFgwp1PL
> =c6tu
> -END PGP SIGNATURE-
> ___
> 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] 3.7.9 amalgamation file in VS2005

2011-12-28 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/12/11 22:47, Jens Frederich wrote:
> I duplicated your problem on C++ 2011 Professional. Source code
> stepping doesn't work. My solution is to remove all comment lines.

There is a TCL based tool in the SQLite source that will split the
amalgamation into multiple files with a specified maximum number of lines
per file.  It is aware of how the amalgamation is constructed hence
getting things right like not splitting in a bad place.

  http://www.sqlite.org/src/finfo?name=tool/split-sqlite3c.tcl

(The interface Fossil presents is a little annoying if you just want to
download/view the most recent version of the file.  Some clicking will get
you to the right page.)

Roger
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk78FC4ACgkQmOOfHg372QSh5gCeJsPAk1VjhH0Z/rQ2/ihzw8pa
mDAAoJkwyX17EFULqmbZ6rLpnFgwp1PL
=c6tu
-END PGP SIGNATURE-
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] 3.7.9 amalgamation file in VS2005

2011-12-28 Thread Jens Frederich
Hi,

I duplicated your problem on C++ 2011 Professional. Source code stepping
doesn't work.
My solution is to remove all comment lines.

Jens


On Wed, Dec 28, 2011 at 2:09 PM, Teg <t...@djii.com> wrote:

>
> Yeah,  I  was  wrong. Color syntax highlighting does work. It's single
> stepping into the code that doesn't. Sorry.
>
> C
>
>
> Wednesday, December 28, 2011, 3:04:39 AM, you wrote:
>
> AN> Dear Michael,
> AN>
> AN> thanks for trying this out. Not at the moment but I will consider
> upgrading for the future.
> AN>
> AN> In fact I was surprised about this problem because amalgamation
> AN> file version 3.7.7.1 still *has* correct highlighting in both
> AN> VS2005 and 2008. The 3.7.9 amalgamation fle is, of course, larger,
> AN> but the difference does not seem to be so big so that the
> AN> highlighting should fail. So maybe there might be some syntax
> AN> elements in 3.7.9 (large comments or whatever) causing this
> AN> behaviour or there is really a maximum source file size that
> AN> VS2005 and 2008 syntax highlighter can support, which was reached
> between 3.7.7.1 and 3.7.9.
> AN>
> AN> Thanks
> AN>
> AN> Alex
> AN> __________
> >> Od: "Black, Michael (IS)"
> >> Komu: General Discussion of SQLite Database
> >> Datum: 27.12.2011 23:36
> >> Předmět: Re: [sqlite] 3.7.9 amalgamation file in VS2005
> >>
> AN> I duplicated your problem on C++ 2005 Express and C++ 2008 Express.
>
>
>
> AN> C++ 2010 Express does the syntax highlighting correctly (or at least a
> lot better).
>
>
>
> AN> Can you upgrade?
>
>
>
> AN> Michael D. Black
>
> AN> Senior Scientist
>
> AN> Advanced Analytics Directorate
>
> AN> Advanced GEOINT Solutions Operating Unit
>
> AN> Northrop Grumman Information Systems
>
> AN> 
> AN> From: sqlite-users-boun...@sqlite.org
> AN> [sqlite-users-boun...@sqlite.org] on behalf of Alexandr Němec [
> a.ne...@atlas.cz]
> AN> Sent: Tuesday, December 27, 2011 8:55 AM
> AN> To: sqlite-users@sqlite.org
> AN> Subject: EXT :[sqlite] 3.7.9 amalgamation file in VS2005
>
>
> AN> Dear all,
>
> AN> I have one question that is not strictly a SQLite question
> AN> (sorry), but maybe someone encountered this problem and found the
> AN> solution. I have upgraded from an older SQLite release to 3.7.9
> AN> and loaded the amalgamation file into a Visual Studio 2005
> AN> project. But the syntax code highlighter does not behave correctly
> AN> with the 3.7.9 amalgamation file because it greys out not only the
> AN> sections of code that are not compiled at all (because of
> AN> if(n)def's) but also other sections that DO compile. Well, I think
> AN> that this is a bug of the VS 2005 syntax highlighter for such a
> AN> large source file, because the file compiles ok, but working with
> AN> such a file in VS 2005 is frustrating.
>
> AN> Did anyone see (did anyone find a solution for) this problem? I
> AN> have not seen this for older versions of the amalgamation file.
>
> AN> Best regards
>
> AN> Alex
> AN> ___
> AN> sqlite-users mailing list
> AN> sqlite-users@sqlite.org
> AN> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> AN> ___
> AN> sqlite-users mailing list
> AN> sqlite-users@sqlite.org
> AN> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
>
>
>
> --
> 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] 3.7.9 amalgamation file in VS2005

2011-12-28 Thread Teg

Yeah,  I  was  wrong. Color syntax highlighting does work. It's single
stepping into the code that doesn't. Sorry.

C


Wednesday, December 28, 2011, 3:04:39 AM, you wrote:

AN> Dear Michael,
AN>  
AN> thanks for trying this out. Not at the moment but I will consider 
upgrading for the future.
AN>  
AN> In fact I was surprised about this problem because amalgamation
AN> file version 3.7.7.1 still *has* correct highlighting in both
AN> VS2005 and 2008. The 3.7.9 amalgamation fle is, of course, larger,
AN> but the difference does not seem to be so big so that the
AN> highlighting should fail. So maybe there might be some syntax
AN> elements in 3.7.9 (large comments or whatever) causing this
AN> behaviour or there is really a maximum source file size that
AN> VS2005 and 2008 syntax highlighter can support, which was reached between 
3.7.7.1 and 3.7.9.
AN>  
AN> Thanks
AN>  
AN> Alex
AN> __
>> Od: "Black, Michael (IS)" 
>> Komu: General Discussion of SQLite Database 
>> Datum: 27.12.2011 23:36
>> Předmět: Re: [sqlite] 3.7.9 amalgamation file in VS2005
>>
AN> I duplicated your problem on C++ 2005 Express and C++ 2008 Express.



AN> C++ 2010 Express does the syntax highlighting correctly (or at least a lot 
better).



AN> Can you upgrade?



AN> Michael D. Black

AN> Senior Scientist

AN> Advanced Analytics Directorate

AN> Advanced GEOINT Solutions Operating Unit

AN> Northrop Grumman Information Systems

AN> 
AN> From: sqlite-users-boun...@sqlite.org
AN> [sqlite-users-boun...@sqlite.org] on behalf of Alexandr Němec 
[a.ne...@atlas.cz]
AN> Sent: Tuesday, December 27, 2011 8:55 AM
AN> To: sqlite-users@sqlite.org
AN> Subject: EXT :[sqlite] 3.7.9 amalgamation file in VS2005


AN> Dear all,

AN> I have one question that is not strictly a SQLite question
AN> (sorry), but maybe someone encountered this problem and found the
AN> solution. I have upgraded from an older SQLite release to 3.7.9
AN> and loaded the amalgamation file into a Visual Studio 2005
AN> project. But the syntax code highlighter does not behave correctly
AN> with the 3.7.9 amalgamation file because it greys out not only the
AN> sections of code that are not compiled at all (because of
AN> if(n)def's) but also other sections that DO compile. Well, I think
AN> that this is a bug of the VS 2005 syntax highlighter for such a
AN> large source file, because the file compiles ok, but working with
AN> such a file in VS 2005 is frustrating.

AN> Did anyone see (did anyone find a solution for) this problem? I
AN> have not seen this for older versions of the amalgamation file.

AN> Best regards

AN> Alex
AN> ___
AN> sqlite-users mailing list
AN> sqlite-users@sqlite.org
AN> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
AN> ___
AN> sqlite-users mailing list
AN> sqlite-users@sqlite.org
AN> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users




-- 
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] 3.7.9 amalgamation file in VS2005

2011-12-28 Thread Alexandr Němec

Dear Michael,
 
thanks for trying this out. Not at the moment but I will consider upgrading for 
the future.
 
In fact I was surprised about this problem because amalgamation file version 
3.7.7.1 still *has* correct highlighting in both VS2005 and 2008. The 3.7.9 
amalgamation fle is, of course, larger, but the difference does not seem to be 
so big so that the highlighting should fail. So maybe there might be some 
syntax elements in 3.7.9 (large comments or whatever) causing this behaviour or 
there is really a maximum source file size that VS2005 and 2008 syntax 
highlighter can support, which was reached between 3.7.7.1 and 3.7.9.
 
Thanks
 
Alex
__
Od: "Black, Michael (IS)" 
Komu: General Discussion of SQLite Database 
Datum: 27.12.2011 23:36

Předmět: Re: [sqlite] 3.7.9 amalgamation file in VS2005


I duplicated your problem on C++ 2005 Express and C++ 2008 Express.



C++ 2010 Express does the syntax highlighting correctly (or at least a lot 
better).



Can you upgrade?



Michael D. Black

Senior Scientist

Advanced Analytics Directorate

Advanced GEOINT Solutions Operating Unit

Northrop Grumman Information Systems


From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Alexandr Němec [a.ne...@atlas.cz]
Sent: Tuesday, December 27, 2011 8:55 AM
To: sqlite-users@sqlite.org
Subject: EXT :[sqlite] 3.7.9 amalgamation file in VS2005


Dear all,

I have one question that is not strictly a SQLite question (sorry), but maybe 
someone encountered this problem and found the solution. I have upgraded from 
an older SQLite release to 3.7.9 and loaded the amalgamation file into a Visual 
Studio 2005 project. But the syntax code highlighter does not behave correctly 
with the 3.7.9 amalgamation file because it greys out not only the sections of 
code that are not compiled at all (because of if(n)def's) but also other 
sections that DO compile. Well, I think that this is a bug of the VS 2005 
syntax highlighter for such a large source file, because the file compiles ok, 
but working with such a file in VS 2005 is frustrating.

Did anyone see (did anyone find a solution for) this problem? I have not seen 
this for older versions of the amalgamation file.

Best regards

Alex
___
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] 3.7.9 amalgamation file in VS2005

2011-12-27 Thread Black, Michael (IS)
I duplicated your problem on C++ 2005 Express and C++ 2008 Express.



C++ 2010 Express does the syntax highlighting correctly (or at least a lot 
better).



Can you upgrade?



Michael D. Black

Senior Scientist

Advanced Analytics Directorate

Advanced GEOINT Solutions Operating Unit

Northrop Grumman Information Systems


From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Alexandr Němec [a.ne...@atlas.cz]
Sent: Tuesday, December 27, 2011 8:55 AM
To: sqlite-users@sqlite.org
Subject: EXT :[sqlite] 3.7.9 amalgamation file in VS2005


Dear all,

I have one question that is not strictly a SQLite question (sorry), but maybe 
someone encountered this problem and found the solution. I have upgraded from 
an older SQLite release to 3.7.9 and loaded the amalgamation file into a Visual 
Studio 2005 project. But the syntax code highlighter does not behave correctly 
with the 3.7.9 amalgamation file because it greys out not only the sections of 
code that are not compiled at all (because of if(n)def's) but also other 
sections that DO compile. Well, I think that this is a bug of the VS 2005 
syntax highlighter for such a large source file, because the file compiles ok, 
but working with such a file in VS 2005 is frustrating.

Did anyone see (did anyone find a solution for) this problem? I have not seen 
this for older versions of the amalgamation file.

Best regards

Alex
___
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] 3.7.9 amalgamation file in VS2005

2011-12-27 Thread Teg


VS2010  has  the  same problem. The file is simply too big for it. I'm
not  a  fan  of  the amalgamation  because  of  this.  It's essentially
impossible to trace into the SQlite code now.

That said, it compiles and works fine.

C

Tuesday, December 27, 2011, 10:50:14 AM, you wrote:

JJD> In my experience I find that most syntax highlighters fail
JJD> on occasion, especially with large files.  Trust the compiler not the
JJD> editor.

JJD> 2011/12/27 Alexandr Němec 

>>
>> Dear all,
>>
>> I have one question that is not strictly a SQLite question (sorry), but
>> maybe someone encountered this problem and found the solution. I have
>> upgraded from an older SQLite release to 3.7.9 and loaded the amalgamation
>> file into a Visual Studio 2005 project. But the syntax code highlighter
>> does not behave correctly with the 3.7.9 amalgamation file because it greys
>> out not only the sections of code that are not compiled at all (because of
>> if(n)def's) but also other sections that DO compile. Well, I think that
>> this is a bug of the VS 2005 syntax highlighter for such a large source
>> file, because the file compiles ok, but working with such a file in VS 2005
>> is frustrating.
>>
>> Did anyone see (did anyone find a solution for) this problem? I have not
>> seen this for older versions of the amalgamation file.
>>
>> Best regards
>>
>> Alex
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>






-- 
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] 3.7.9 amalgamation file in VS2005

2011-12-27 Thread Jim "Jed" Dodgen
In my experience I find that most syntax highlighters fail
on occasion, especially with large files.  Trust the compiler not the
editor.

2011/12/27 Alexandr Němec 

>
> Dear all,
>
> I have one question that is not strictly a SQLite question (sorry), but
> maybe someone encountered this problem and found the solution. I have
> upgraded from an older SQLite release to 3.7.9 and loaded the amalgamation
> file into a Visual Studio 2005 project. But the syntax code highlighter
> does not behave correctly with the 3.7.9 amalgamation file because it greys
> out not only the sections of code that are not compiled at all (because of
> if(n)def's) but also other sections that DO compile. Well, I think that
> this is a bug of the VS 2005 syntax highlighter for such a large source
> file, because the file compiles ok, but working with such a file in VS 2005
> is frustrating.
>
> Did anyone see (did anyone find a solution for) this problem? I have not
> seen this for older versions of the amalgamation file.
>
> Best regards
>
> Alex
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 

*Jim Dodgen*


*
*
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users