Debugging SNA Server Application Exceptions on WinNT 3.5 & 3.51Last reviewed: April 17, 1997Article ID: Q139378 |
The information in this article applies to:
SUMMARYThis article gives you the following information for debugging SNA Server application exceptions on your computer running Windows NT 3.5 and 3.51:
MORE INFORMATION
Entries in Dump File, Application Event Log, and DRWATSON.LOGIf an application exception or unexpected internal error occurs in an SNA Server component, SNA Server automatically generates an application dump file containing the memory contents of the failing process. Also, SNA Server logs the following event in the Windows NT Application event log:
Event: 624 Creating dump file <filename> for <process>If the dump file is due to an unexpected internal error in SNA Server, this error is logged at the same time as Event 624. In such cases, the DRWTSN32.LOG indicates a hardcoded breakpoint. For example:
Application exception occurred in module <modulename> Exception number: 80000003 (hardcoded breakpoint)The DRWTSN32.LOG is important to diagnose the cause of the failure.
DRWATSN32.EXE Specified as Default Debugger in RegistryOn Windows NT 3.5 and 3.51, DRWTSN32.EXE is the default debugger that gets invoked if an application exception occurs. This is set in the Windows NT registry under the HKEY_LOCAL_MACHINE subtree under the following key:
\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\The following parameters appear in the right window of the Registry Editor:
Auto: REG_SZ: 1 Debugger:REG_SZ: drwtsn32 -p %ld -e %ld -gNOTE: If Auto is set to 1 (one), the debugger runs immediately. If Auto is set to 0 (zero), then you must choose Cancel at the Windows NT application exception screen to invoke the debugger. NOTE: "l" in "%ld" is the letter "l" and not the number one (1).
DRWATSN32.EXE Can FailWhen you run Windows NT 3.5, the following problems can cause DRWTSN32.EXE to fail to generate a useful DRWTSN32.LOG file:
How to Configure SNA Server for DebuggingWhen you run SNA Server 2.1 on Windows NT 3.5:
- It is not necessary to run SETUPDBG/MAKEDBG, as documented in the 2.11 Readme.txt file and Readdbg.txt file. Also, when running on Windows NT 3.51, it is not necessary to copy Windows NT 3.51 symbols, due to an enhancement in the Windows NT 3.51 version of Drwtsn32.exe.When you run SNA Server 3.0 on Windows NT 3.51:
Information to Provide to SNA Server Support TeamIf an application exception occurs in an SNA Server component, provide the following information to the SNA Server support team:
SNA Server 2.11 README.WRI File ExcerptThe following is an excerpt from the SNA Server 2.11 README.WRI file that is installed in the SNA Server group icon: A.5. Notes on obtaining useful DRWTSN32.LOG files By default, the log files generated by the Dr. Watson utility do not contain symbol information necessary for interpreting those files. This is because SNA Server components contain optimized instructions that prevent the Dr. Watson utility from being able to provide a full trace. In addition, the default configuration of Windows NT version 3.5 does not include symbol information required by the Dr. Watson utility. If you are experiencing a Windows NT trap, and if Microsoft Product Support Services requests a copy of your DRWTSN32.LOG file, you must modify your system setup before the Dr. Watson utility can produce a useful log file the next time a trap occurs. For a computer running Windows NT Server version 3.5, you must perform the following steps to make symbol information available to the Dr. Watson utility:
If any Windows NT service packs have been applied, copy the symbols supplied with the service pack in the same manner. On all versions of Windows NT, you must replace all SNA Server system files with debug versions using this procedure:
This step creates two subdirectories in the SNA Server system directory: DEBUG contains nonoptimized, debug versions of the SNA Server system files, while NODEBUG contains copies of the original, optimized SNA Server system files.
net stop snaserver net stop snabase copy %snaroot%\debug %snaroot% When you no longer need to run the debug versions of the SNA Server system files, execute the following commands and then restart the system:
net stop snaserver net stop snabase copy %snaroot%\nodebug %snaroot% |
Additional query words: prodsna
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |