Debug resource library functions
My script executes function written in QTP and included with resource library file.
I intended to debug this function using breakpoint and stepping into the function. Breakpoint worked but stepping into didn't.
As per QTP Help :... press F11 to run only the current line of the active test or component. If the current line of the active test or component calls another action or a function, the called action/function is displayed in the QuickTest window, and the test or component pauses at the first line of the called action/function."
Why Step Into is not working?
Re: Debug resource library functions
The script debugger only works with QTP IDE. Now since the code that you are executing is not in the QTP IDE you cant debug it. The best possible solution is to put the code for that function in the test itself and not the library file. This will allow you to bedug the code and once done you can put code back into the library file.
I hope debugging Libraries would be possible with QTP 9.0. But i dont know