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 <something>.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 3.7.9 >> AN> and loaded the amalgamation file into a Visual Studio 2005 >> AN> project. But the syntax code highlighter does not behave >> AN> correctly with the 3.7.9 amalgamation file because it greys out >> AN> not only the sections of code that are not compiled at all >> AN> (because of >> AN> if(n)def's) but also other sections that DO compile. Well, I >> AN> think that this is a bug of the VS 2005 syntax highlighter for >> AN> such a large source file, because the file compiles ok, but >> AN> working with 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, >> Teg mailto: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 _______________________________________________ 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