QTP debugging environment available in QTP 9x/10 uses default Process Debug Manager (PDM) engine that is present in the operating system. PDM makes programs objects available to the session debug manager and the debug engine. Normally, during the installation process of QTP an old version of Script Debugger containing archaic version of pdm.dll (7.10.3077) is installed. That leads to very limited debugging capabilities - object spy component displays enigmatic "object" description instead of the more detailed list of available properties and methods.
To tweak the QTP debugger just use the latest (10.0.30319.1) version of that file available in trial version of Microsoft� Visual Studio� 2010 or use the 9.0.30729.1 version shipped together with Internet Explorer 8 or later (take a look into C:\Program Files\Internet Explorer\
folder)
To register your new pdm.dll as the default one used by the operating system just put the file in C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\
and execute following command (Start > Run):
regsvr32 "C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\pdm.dll".
After starting QTP you should be able to use improved debug view showing list of previously hidden methods and properties. In case you are not able to see any variables at all please apply patch 00635 that fixes the problem with disappearing variables.
In case you would like to revert the changes unregister pdm.dll by executing appropriate command:
regsvr32 /u pdm.dll
then copy old pdm.dll file to
C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\
and register it back:
regsvr32 "C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\pdm.dll"
or just install Script Debugger for Windows NT 4.0 and Later.