Changes between Initial Version and Version 1 of DebuggingAndSuch


Ignore:
Timestamp:
May 2, 2007, 2:12:41 AM (17 years ago)
Author:
stevenhl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebuggingAndSuch

    v1 v1  
     1= Debugging the Uniaud drivers =
     2
     3== Logging ==
     4
     5The 32-bit drivers do some interal logging.  The extract this data
     6
     7{{{
     8copy alsa32$ alsa32.log
     9copy alsahlp$ alsahlp.log
     10}}}
     11
     12It appears that the logs are clears by the copy.
     13
     14
     15== Trap Dumps ==
     16
     17If you are getting kernel or driver exceptions, a trap dump volume can often get you the data to figure out where and why it is happening.  See
     18[http://home.earthlink.net/~steve53/os2diags/TrapDumpRef.txt]
     19for a setup guide.
     20
     21== The Kernel Debugger ==
     22
     23There are times when you just has to watch the code execute to understand the issue.  The kernel debugger can help here.  You and second system and either a serial port to or a supported NIC to use the debugger.  You can not use a NIC for debugging driver initialization and such.  Not enough to the OS is loaded.  However, NIC debugging can make working other areas of driver operation go faster.
     24
     25The kernel debugger comes in two flavors.  There's the traditional command line debugger.  There's the ICAT source level GUI debugger.  Which is best depends on which part of the driver code you are working on.  The source level debugging is handy, but it can be slow over a serial port.
     26
     27More to come...
     28
     29