10-28-2013 07:55 AM - edited 10-28-2013 07:57 AM
UFT often freezes while I'm stepping through a test with breakpoints enabled.
Both my test and associated function libraries are opened from ALM source control.
The freeze always seems to happen when viewing the Local Variables tab while stepping through the test with the F10 or F11 keys.
When this happens, the status bar in the lower right corner gets stuck on Running or Paused.
All keyboard and mouse actions in UFT becomes unresponsive.
It never resolves itself and I'm forced to kill UFT from taskmgr.
The problem appears to be random.
I can't reproduce the freeze against a particular block of code in either the Test or Functional library.
If i run the same code without any breakpoints, UFT never freezes.
I'm running UFT with 11.52 Service Pack 1 and 11.52 Patch 1on a Windows7 32 bit platform with 4GB ram.
I only have the Web plugin enabled.
Is this a known issue? I've never seen this problem running the same code in QTP 11.0.
10-29-2013 06:52 AM
Known by whom?
Yes! This happens to me all the time. It is so bad that I try to avoid using single step as much as possible -- which itself it a pain since the feature is so valuable.
I have two rules I follow before doing single step.
1. Make sure I have saved the script changes.
2. Limit the steps to the very minimum I need.
In other words, I assume that UFT will hang and I just try to learn what I need to know before it does.
11-01-2013 07:14 AM
After some research I found that, yes, this issue has already been reported to RnD. The fix for it is internal for now but will be included in SP 3 for UFT.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
11-03-2013 11:25 PM
Could you try with the new version of PDM.DLL that came with Internet Explorer 8 and later? If you machine has IE8, you can use following command to register new PDM.DLL
regsvr32 C:\Program Files\Internet Explorer\pdm.dll
(with respect you are using 32bit OS, if you are using 64bit OS, please change path to 32bit IE)
There was a note in the tutorial suggested to use newer version of PDM.DLL instead of the one comes from Microsoft Script Debugger. It works for me for most of the debug tasks on UFT.
07-08-2014 03:03 PM
Still a problem with 12.0
Has been a problem since the old days of QTP.
For the cost of this product, I'd expect this to get fixed at some point, but I guess not.
07-29-2014 03:16 AM
I would have thought it has something to do with memory management.
In debug mode it must be an overkill for UFT to act as an IDE...
In any case this has to be redesigned and repatched in my humble opinion...
11-25-2014 10:18 AM
I recently ran into the same issue with UFT 11.53 with the latest patches. Was very frustrating, UFT basically crashed all the time if the Local Variables pane was open during debugging.
After working with HP Support, the problem was determined to be the pdm.dll, as reported by Hai earlier in this thread (about a year ago). I hadn't realized that this was the actual solution, but after registering the correct pdm.dll, UFT works like a charm!
Just in case any others are facing this issue.
12-26-2014 08:37 AM
I am still seeing this in UFT 12.01.
It Freezes a lot while tracing variables in the Watch window.
I am thinking about using the new logging mechanism in UFT to see if I can catch the fail.
Hey... I just noticed something. ... I am supposed to be testing an app. Not UFT. :)
01-28-2015 02:42 AM
I have similar situation in HP UFT while I'm trying to debug script using step mode but only when I'm trying to watch the variable's value in "watch" plane.
It's really annoing, so please - HP - fix it!
02-25-2015 08:09 AM
Has there been any resolution for this? I am using UFT 12.02, and experiencing this exact issue, and I have a very recent pdm.dll registered. It is isolated to certain parts of the code, and only when watching variables.
If anyone has a new solution for this, please post.
03-25-2015 06:21 AM
Yahhhh... I use the latest version 12.02 and have the same problem .... time lost :(. A bull**bleep** testing software.
The licenses are a tone of money and the quality is a bull**bleep**. If you have a big app this SW is of no use. It can be used only for simple web page testing once you give UFT big data is death and you along with him. The company should be a long time ago out of market but big multinational companies pay good money just for name.
One of the key features (debugging) is a problem for years … how nice for the clients. There is no hope for UFT/QTP.
03-25-2015 10:20 AM
Is there a particular line it is consistently freezing on? There is a lot of information about improving debug in the other post on this forum. "HP UFT 12, 12.01 & 12.02 Crash during debugging phase"
04-21-2015 04:04 PM
UFT 12.0 freezes everytime I set a breakpoint and try to step through the code. It doesn't matter where the breakpoint is set. I experienced this at a different company 1 1/2 years ago with 11.52 version of UFT.
Sad that these companys pay so much money for this project that a key component hasn't worked for years.
04-25-2015 02:10 PM
>HP UFT 12, 12.01 & 12.02 Crash during debugging phase
a month ago
I have also see this issue,
I think they have fixed this issue in v12.
While debugging the code keep minimum varaibles/ objects in the watch pane. This sovled issue to lilbit for me