Windows provides several debugging options, which may require help from Sybase Technical Support to use effectively:
AutoDump+, also known as ADPlus, a console-based tool to help troubleshoot a process or application that stops responding or fails.
CDB, a console program for debugging kernel-mode drivers on Windows NT.
Dr. Watson, which records program errors in a log file for analysis. Configuration options let you define:
The type of files to output and where those files are located
Options to dump all thread contexts and symbols
The number of errors or instructions to save
For details:
Run drwtsn32.exe, then click Help.
Go to the Microsoft Web site for information on how to read a Dr. Watson log.
Kernel debugger (kd.exe), a command line debugger.
Use the kd utility to load a dump file or attach to a running process before a crash occurs. You can view memory or the callstack, go to a specific offset, and so on.
UserDump, which generates a user dump of a process that shuts down with an exception or hangs. UserDump (userdump.exe) is included in the Microsoft OEM Support Tools Package; set it up from the Control Panel.
UserDump and Dr. Watson
differ in the types of exceptions they track. If your server inexplicably
disappears, you may find UserDump useful for
analysis.
WinDbg, an analysis tool that Technical Support can use to examine the .dmp file generated by the UserDump utility. Accurate analysis of the .dmp file requires access to the EAServer and PowerBuilder symbol files, which customers do not have.
Table 6-1 summarizes the features of Windows dump analysis tools:
Able to create dump file upon |
AutoDump+ |
CDB |
Dr. Watson |
UserDump |
---|---|---|---|---|
Crash |
Yes |
Yes |
Yes |
Yes |
Exception |
Yes |
Yes |
Yes |
Yes |
Hang |
Yes |
Yes |
No |
Yes |
Start-up failure |
No |
Yes |
No |
Yes |
Normal run |
No |
Yes |
No |
No |
See the Microsoft Web site for more information about these debugging tools.