Re: saving value of variable on assert

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Frank Hickman [MVP] (fhickman_NOSP_at_M_noblesoft.com)
Date: 01/01/05


Date: Sat, 1 Jan 2005 03:41:06 -0500

Not really sure if this is what you want but if you highlight the variable
and drag it to the watch window you will be able to select all the text in
the variable and copy/paste it to notepad.

-- 
============
Frank Hickman
Microsoft MVP
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.
"Jack" <not@home.com> wrote in message 
news:41d517f9$0$19154$cc9e4d1f@news-text.dial.pipex.com...
> Hi,
>
> Can I save the value of a variable on an assert abort?
>
> My program terminates in debug mode on as assert statement.
>
> The JIT debugger indicates that the program logic fails when parsing the
> contents of a CString pointer (though this is not the direct reason for 
> the
> failure).
>
> The CString is a valid string - but my program logic fails to handle a 
> given
> format ( I am parsing the string expecting a given format).
>
> The pointer points to a downloaded HTML page and so the string is large.
>
> Is it possible to save the buffer contents of the string into a text file
> for analysis of the page format?
>
> When I hover over the value the datatips popup is displayed with showing 
> the
> first x characters, so the debugger "knows" the value.
>
> How can I save it?
>
> Thanks
>
>
>
>
>
> 


Relevant Pages

  • Re: saving value of variable on assert
    ... > The JIT debugger indicates that the program logic fails when parsing the ... > contents of a CString pointer (though this is not the direct reason for ... > format (I am parsing the string expecting a given format). ...
    (microsoft.public.vc.debugger)
  • Re: Date format detection
    ... Specifies the locale for which the date string is to be formatted. ... date format for this locale. ... the system default-date format for the specified locale. ... be enclosed within single quotation marks in the date format picture. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Date format detection
    ... > Specifies the locale for which the date string is to be formatted. ... > date format for this locale. ... > the system default-date format for the specified locale. ... > be enclosed within single quotation marks in the date format picture. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Date confusion
    ... Read my reply elsewhere in this string. ... > integer portion of the value represents the date as the number of days ... >> If you are working with a numeric date and you want the format DDMMYYYY, ... Another reason for preferring to store a date as text would be personal preference. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Regular Expression - old regex module vs. re module
    ... If you want to include backslashes in a string, ... a one character string, which is unlikely to be what you wanted. ... formating characters before a format, then you should use a negative ... #read in and parse a format template ...
    (comp.lang.python)