I used the strcpy_s function from Microsoft, the so called safe version
that includes a char count. I used it under the Studio debugger.  Set a
buffer of 200 chars to zero, set the char count to 20 in strcpy_s, and the
debugger wrote in the top 180!!

I freaked, didn't see that as safe at all!

On Sat, Dec 24, 2011 at 4:28 AM, Tony McC <af...@btinternet.com> wrote:

> On Wed, 21 Dec 2011 21:33:02 +0000
> "Jacob A. Camp" <jacob.c...@mastercam.com> wrote:
>
> > There it is, when I printed this value out to a txt file everything
> > was there.
> >
> > Apparently there is some sort of character limit when displaying
> > strings in debug mode in Visual Studio 2010, news to me...
> >
> > Thanks everyone!
>
> That's what the 2010 in the name of the product means: displayed strings
> are limited to that many characters (Studio is an acronym meaning Stop
> Displaying Under Debugger If Over [2010]). You were lucky to get a few
> more, but that is undocumented behaviour.  If you upgrade next year
> though you should be able to display a couple more characters.
>
> Tony
> _______________________________________________
> 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

Reply via email to