⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wpw_w32_debug_95.html

📁 VC programing
💻 HTML
字号:
<HTML>


<HR><A NAME=WIN32_NT_CORE_DUMP>
Return to <a href="wpw_w32_index.html#TOC">Table of Contents for this chapter</a><br>
<H4>Subject: postmortem debugging in Windows NT</H4><PRE>

cydonix@clark.net (Art Baker) wrote:

>Tony Edwards (tedwards@nando.net) wrote:
>: >I'm interested in finding some sort of product that will allow
>: >postmortem debugging in Windows NT.

>: Someone mentioned, I think on this newsgroup, that core dump is built 
>: into NT 3.51, you just enable it from the control panel or something.

>Actually, it's in NT 3.5. Go into the System applet in the Control Panel. 
>Click on the Recovery button and you'll be able to set up various crash 
>dump options.

>To analyze the crash dump, you'll a copy of WINDBG from the Win32 SDK or 
>the NT DDK. You'll need to set up some symbol files to get it to work. 
>See the DDK doc's (Programming Guide -- debugging chapter) for instructions.

The original poster didn't specify that he was trying to debug the OS
itself, which is what you have told him how to do.  If he is looking
to do post-mortem debugging of a user-mode program that didn't cause
the OS to crash, then this won't help much. 

I don't know of a way to create core-dump files for user-mode programs
under NT.  Except for the fact that you can't debug files that users
have sent you, NT's debugging is much nicer than the post-mortem
methods.

Jake

</PRE>

<HR><A NAME=WIN32_NT_REDIR_DEBUGOUTPUT>
Return to <a href="wpw_w32_index.html#TOC">Table of Contents for this chapter</a><br>
<H4>Subject: redirect output of Debug message for WinNT</H4><PRE>
andycarlson@attmail.com (Andy Carlson) wrote:

>Hi,

[snip]

>Is there a way to run an NT GUI app which will allow the output from
>OutputDebugString to go to a console or a file? (Without making 
>changes to the app itself).

In the NT SDK, there is a debugger called "ntsd" which should be
exactly what you are looking for.

Jake Oshins


</PRE> 

</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -