Community in read only mode June 18 & 19
This community will be set in READ ONLY mode for a while on Tuesday June 18 into Wednesday June 19 while we import content and users from our Micro Focus Forums community site. MORE INFORMATION
Absent Member.. bte101 Absent Member..
Absent Member..
8075 views

UFT 11.52 Freezes while stepping through code.

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.

20 Replies
Absent Member.. GeorgeCC Absent Member..
Absent Member..

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.

csm2mk Absent Member.
Absent Member.

Re: UFT 11.52 Freezes while stepping through code.

Sadly. Too right!

0 Likes
Ana_Noncheva Absent Member.
Absent Member.

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.”
0 Likes
HaiTNguyen Honored Contributor.
Honored Contributor.

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
0 Likes
NotAname Absent Member.
Absent Member.

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?

0 Likes
Highlighted
oilstain Absent Member.
Absent Member.

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.

Tags (5)
Sandeep_M_007 Absent Member.
Absent Member.

Re: UFT 11.52 Freezes while stepping through code.

When can we expect the fix to be ready for that

csm2mk Absent Member.
Absent Member.

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

Trusted Contributor.. Fred_Gaumont Trusted Contributor..
Trusted Contributor..

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 

Absent Member.. bklabel Absent Member..
Absent Member..

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

 

 

0 Likes
Paweł_Wojtal Absent Member.
Absent Member.

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!

 

Established Member.. dtc-automation
Established Member..

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.

qar Absent Member.
Absent Member.

Re: UFT 11.52 Freezes while stepping through code.

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.

 

 

CollinR Absent Member.
Absent Member.

Re: UFT 11.52 Freezes while stepping through code.

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"

 

 

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.