<UFT Support Tip> How to troubleshoot odd behaviors while debuggin GUI tests in UFT?
Sometimes it can be observed certain problematic pattern during debugging sessions in UFT 11.5X/12.0X. Some of the reported symptons are (but not limited to):
- UFT stop responding (hangs) or throw an exception (crashes) while debugging and quickly pressing F10/F11.
- UFT crashes when you tried to add a variable to the Watch pane.
- During debugging sessions UFT just stops responding to any UI command, making impossible to work and consequentially have to proceed to kill the UFT process.
- An exception is shown in variables value in UFT's Watch Pane.
In these conditions of an unexpected behavior of the testing tool, we recommened as a first step to troubleshooting it, to try the solution about the PDM.DLL file detailed in the UFT Readme information.
It proposes many alternatives to alleviate it, but perhaps the simplest one, is the one about the files copy and registration, of pdm.dll and msdbg2.dll as specified in the readme (There are some requirements and "need to" steps, review it).
After you registered them, you can double check from registry if everything is fine, by doing a search for "PDM.DLL", you should find results, that show the provided path in the hard drive for the previously copied the DLL files, as per the readme instructions for the solution.
Note: In some environments, have been seen that running the regsvr32 command from a CMD window, doesn't have the same results as when doing it from Windows > Start Menu > Run.
Once this has been performed, test again for the problem.
If it's still persistent, please try to identify the simpliest scenario which can be used to replicate it (the simplest script) and contact HP Support for additional assistance.
I hope you find this of help.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution."