Introduction
DebugView for Windows is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so you don't need a debugger to catch the debug output your applications or device drivers generate, nor do you need to modify your applications or drivers to use non-standard debug output APIs.
970066 How to collect traces in System Center Virtual Machine Manager
http://support.microsoft.com/default.aspx?scid=kb;EN-US;970066
Important:
DebugView is generally only required when it is not possible to obtain an ETL trace through the MPSReport tool. DebugView does, however, provide information about technologies that are not directly related to VMM but that may have an effect on VMM behavior.
Note:
‘VMMTrace.cmd’ is a script that automates the trace collection process by performing the steps below. This utility may save time and make the trace capturing process more user friendly for customers. The utility can be found at the following location:
Obtaining DebugView for Windows
DebugView for Windows can be downloaded from the Windows Sysinternals site at the following link: http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
Before Collecting a DebugView Trace
@echo off
echo ODS control flags - only trace with set flags will go to ODS
if (%1)==() goto :HELP
if (%1)==(-?) goto :HELP
if (%1)==(/?) goto :HELP
echo Setting flag to %1...
reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Carmine" /v ODSFLAGS /t REG_DWORD /d %1 /f
echo Done.
goto :EXIT
:HELP
echo Usage: odsflags [flag], where flag is
echo TRACE_ERROR = 0x2,
echo TRACE_DBG_NORMAL = 0x4,
echo TRACE_DBG_VERBOSE = 0x8,
echo TRACE_PERF = 0x10,
echo TRACE_TEST_INFO = 0x20,
echo TRACE_TEST_WARNING = 0x40,
echo TRACE_TEST_ERROR = 0x80,
:EXIT
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Carmine]
"ODS"=dword:00000001
"ODS"=dword:00000000
odson.reg
odsflags.cmd 255
(If you need to collect traces for both VMM Server and the host or the Web server, make sure to run these commands on all of these computers).
Collecting a DebugView Trace
Figure 2: DebugView.exe Capture menu
net stop vmmservice
net start vmmservice
net stop vds
net start vds
net stop vmmagent
net start vmmagent
iisreset
Turn off tracing after collecting the data by running the following command at a Command Prompt: odsoff.reg
The format of a DebugView trace differs from that of an ETL trace since DebugView captures all Win32 application activity and, if selected, Kernel mode activity. If saved as a text file, it may be opened in other tools such as TextAnalysisTool.net or Trace32.
System Center 2012 – Virtual Machine Manager (VMM) General Troubleshooting Guide
Maheshkumar S Tiwari edited Revision 4. Comment: Added See Also and Tag
Richard Mueller edited Revision 3. Comment: Replaced RGB values with color names in HTML to restore colors
Richard Mueller edited Revision 2. Comment: Removed (en-US) from title, added tag
Horizon_Net edited Original. Comment: added language tags