Discussion:
debugging view
(too old to reply)
RB
2008-06-19 11:57:44 UTC
Permalink
I have an app that freezes intermittently. I've inserted printout
code blocks that print to text file with pertinent data values
and code loop locations so I could get a better idea of what
is and where is the app when it freezes. However upon examining
several different printout files the app is freezing in different areas
and values of data. The freeze occurs when I dynamically resize
the window by pulling the mouse, but not immediately. It will resize
for a while and then it freezes.
My question is: How (while in debugger) can I attach or somehow
see the code executing at the same time that I am resizing the window.
I don't know how to do this ?
Scott McPhillips [MVP]
2008-06-20 01:58:23 UTC
Permalink
You can printout to the Visual Studio Debug window while executing. At the
API level this is done with OutputDebugString. Libraries such as MFC and
ATL provide a printf-like facility to do the same thing with TRACE or
ATLTRACE macros.
Post by RB
I have an app that freezes intermittently. I've inserted printout
code blocks that print to text file with pertinent data values
and code loop locations so I could get a better idea of what
is and where is the app when it freezes. However upon examining
several different printout files the app is freezing in different areas
and values of data. The freeze occurs when I dynamically resize
the window by pulling the mouse, but not immediately. It will resize
for a while and then it freezes.
My question is: How (while in debugger) can I attach or somehow see the
code executing at the same time that I am resizing the window. I don't
know how to do this ?
--
Scott McPhillips [VC++ MVP]
Loading...