Re: Save VC++ 6.0 IDE Debug info

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Oleg Starodumov (oleg_staro_at_hotmail.com)
Date: 02/17/04


Date: Tue, 17 Feb 2004 11:03:33 +0200


> Is it possible to save all debugging information (eg. watch window for
> all threads, call stack for all threads, memory, registers ...)
> displayed by the IDE to a file for later examination?.
>
> The problem I am working on is very difficult to reproduce (maybe occurs
> once every few days) and it would be helpful to have records of each
> occurrence to work on.
>

You can use crash dumps to save this information.

Unfortunately VC 6.0 does not allow to create crash dumps, but you can
create them with WinDbg or VS.NET.

WinDbg:
http://www.microsoft.com/whdc/ddk/debugging/default.mspx
(see "Crash Dump Files" in WinDbg help)

VS.NET:
http://msdn.microsoft.com/library/en-us/vsdebug/html/vxtskCrashDumps.asp?frame=true

With WinDbg, it is also possible to save command output to a log file,
so that you can save such information as watches, call stacks, registers, etc.
at any moment of time.

Regards,
Oleg



Relevant Pages

  • RE: unhandled exception when opening window
    ... the reply by "Paul F. Williams" does seem to be relevant. ... > It seems that this is not the full call stack, and based on the call stack, ... > I suggest you use Windbg to run this application, ... > Does "Paul F. Williams"'reply in this message help you? ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Event handle leak
    ... (WinDbg), run "!htrace -enable" command when you want to start tracing handles. ... On earlier operating systems, you can try to trace calls to CreateEvent and record the call stack, ... for resource leaks. ...
    (microsoft.public.vc.debugger)
  • Re: Differences in unhandled exception handling between Windows 2000 and 2003?
    ... > What happens if you continue past the AV in windbg? ... I really don't think it's stack. ... but we establish our own stack limit that you all ... >> against that limit, and if the job exceeds it, that job gets an error and is reset. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Cant see call stack in WinDbg
    ... Those stack ranges certainly could be different threads, but without examining your process (or ... No idea - I'm really confused here because in WinDbg ... in WinDbg teh frame pointers go from 0012dbf4 to 0012ddc4. ...
    (microsoft.public.vc.debugger)
  • Re: windbg - symbols error
    ... The BSODing machine and the windbg machine have exactly the same ... use full crash dumps instead of minidumps. ... -> Do not report errors for these programs: ...
    (microsoft.public.windowsxp.general)