Difference between revisions of "Debugging With Debug View"
From Sensoray Technical Wiki
(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. | ||
− | # | + | #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.
- Unplug the USB device from the computer.
- Start DebugView as administrator and make sure kernel messages are turned on.
- Plug in the 2253 USB device.
- 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