Re: saving value of variable on assert
From: Frank Hickman [MVP] (fhickman_NOSP_at_M_noblesoft.com)
Date: 01/01/05
- Next message: Miken: "CreateStatic and CreateView"
- Previous message: Frank Hickman [MVP]: "Re: CDHtmlDialog"
- In reply to: Jack: "saving value of variable on assert"
- Next in thread: Jack: "Re: saving value of variable on assert"
- Reply: Jack: "Re: saving value of variable on assert"
- Messages sorted by: [ date ] [ thread ]
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 > > > > > >
- Next message: Miken: "CreateStatic and CreateView"
- Previous message: Frank Hickman [MVP]: "Re: CDHtmlDialog"
- In reply to: Jack: "saving value of variable on assert"
- Next in thread: Jack: "Re: saving value of variable on assert"
- Reply: Jack: "Re: saving value of variable on assert"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|