Difference between revisions of "Debugging With Debug View"

From Sensoray Technical Wiki
Jump to: navigation, search
(Debugging Drivers with DebugView)
 
(Example using USB devices)
Line 11: Line 11:
 
#Start DebugView as administrator and make sure kernel messages are turned on.
 
#Start DebugView as administrator and make sure kernel messages are turned on.
 
#Plug in the 2253 USB device.
 
#Plug in the 2253 USB device.
#View log messages and send to Sensoray support if necessary.
+
#Copy log messages from DebugView window and send to Sensoray support if necessary.
 +
 
 +
===Example using PCIe devices===
 +
In this example, we debug the startup of the 953.
 +
 
 +
#Start DebugView as administrator and make sure kernel messages are turned on.
 +
#In DebugView under the Capture Menu, select "Log Boot".
 +
#Close DebugView.
 +
#Reboot the machine.
 +
#When computer is done rebooting, start DebugView as administrator again.
 +
#Make sure kernel messages are turned on.
 +
#Start your 953 application program, start channels, and let it operate normally for a minute.
 +
#Copy log messages from DebugView window and send to Sensoray support

Revision as of 11:03, 6 October 2017

Debug View is a useful tool for debugging driver or application problems. It displays kernel driver log messages and other debug information. The software may be downloaded directly from Microsoft here.

Usage

Extract the zip file download above. Right-click on Dbgview.exe and select "run as administrator". Under the Capture menu, select "Capture Kernel" and "Enable Verbose Kernel Output".

Example using USB devices

In this example, we debug the startup of the 2253.

  1. Unplug the USB device from the computer.
  2. Start DebugView as administrator and make sure kernel messages are turned on.
  3. Plug in the 2253 USB device.
  4. Copy log messages from DebugView window and send to Sensoray support if necessary.

Example using PCIe devices

In this example, we debug the startup of the 953.

  1. Start DebugView as administrator and make sure kernel messages are turned on.
  2. In DebugView under the Capture Menu, select "Log Boot".
  3. Close DebugView.
  4. Reboot the machine.
  5. When computer is done rebooting, start DebugView as administrator again.
  6. Make sure kernel messages are turned on.
  7. Start your 953 application program, start channels, and let it operate normally for a minute.
  8. Copy log messages from DebugView window and send to Sensoray support
Personal tools
Namespaces

Variants
Actions
Toolbox