Re: UFT 11.52 Freezes while stepping through code. (1311 Views)
Reply
Occasional Visitor
Posts: 1
Registered: ‎10-28-2013
Message 1 of 13 (2,247 Views)

UFT 11.52 Freezes while stepping through code.

[ Edited ]

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.

Frequent Advisor
Posts: 104
Registered: ‎02-08-2012
Message 2 of 13 (2,199 Views)

Re: UFT 11.52 Freezes while stepping through code.

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.

Super Advisor
Posts: 216
Registered: ‎02-08-2013
Message 3 of 13 (2,190 Views)

Re: UFT 11.52 Freezes while stepping through code.

Sadly. Too right!

HP Expert
Posts: 245
Registered: ‎08-06-2013
Message 4 of 13 (2,170 Views)

Re: UFT 11.52 Freezes while stepping through code.

Hi,

 

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.

 

Regards,

Ana

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Valued Contributor
Posts: 106
Registered: ‎11-29-2011
Message 5 of 13 (2,163 Views)

Re: UFT 11.52 Freezes while stepping through code.

Hi bte101,

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.

Thanks,
Hai
Occasional Visitor
Posts: 1
Registered: ‎01-15-2014
Message 6 of 13 (2,025 Views)

Re: UFT 11.52 Freezes while stepping through code.

Hi,

 

I got exactly the same issue though its a year old post now but I have this problem to use UFT, any suggestions?

Collector
Posts: 2
Registered: ‎07-08-2014
Message 7 of 13 (1,472 Views)

Re: UFT 11.52 Freezes while stepping through code.

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.

Occasional Collector
Posts: 2
Registered: ‎07-16-2014
Message 8 of 13 (1,411 Views)

Re: UFT 11.52 Freezes while stepping through code.

When can we expect the fix to be ready for that

Super Advisor
Posts: 216
Registered: ‎02-08-2013
Message 9 of 13 (1,311 Views)

Re: UFT 11.52 Freezes while stepping through code.

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...

Advisor
Posts: 14
Registered: ‎01-12-2012
Message 10 of 13 (555 Views)

Re: UFT 11.52 Freezes while stepping through code.

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.

 

Regards,

 

Fred Gaumont 

Frequent Visitor
Posts: 3
Registered: ‎09-26-2012
Message 11 of 13 (370 Views)

Re: UFT 11.52 Freezes while stepping through code.

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.  :)

 

Thanks,

 

Kevin

 

 

Occasional Visitor
Posts: 1
Registered: ‎01-28-2015
Message 12 of 13 (205 Views)

Re: UFT 11.52 Freezes while stepping through code.

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!

 

Occasional Advisor
Posts: 6
Registered: ‎05-29-2013
Message 13 of 13 (45 Views)

Re: UFT 11.52 Freezes while stepping through code.

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.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.