Difference between revisions of "Debugging With Debug View"

From Sensoray Technical Wiki
Jump to: navigation, search
m (Example using PCIe 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.
 +
#Start the application and perform any actions needed to reproduce the problem.
 
#Copy log messages from DebugView window and send to Sensoray support if necessary.
 
#Copy log messages from DebugView window and send to Sensoray support if necessary.
  

Latest revision as of 14:58, 14 August 2020

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.

[edit] 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".

[edit] 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. Start the application and perform any actions needed to reproduce the problem.
  5. Copy log messages from DebugView window and send to Sensoray support if necessary.

[edit] 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