Difference between revisions of "Debugging With Debug View"
From Sensoray Technical Wiki
(Debugging Drivers with DebugView) |
|||
(2 intermediate revisions by one user not shown) | |||
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. | ||
+ | |||
+ | ===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. |
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.
- 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.
- 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.
[edit] 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.