Does any one know how to use debug in HP Load Runner?

It is possible to set break point, but there is no debug run mode (not in main menu, not in hot-buttons menu).

enter image description here

Here is quote from online documentation How to Debug Scripts with Breakpoints:

Run a script with breakpoints

Begin running the script as usual. VuGen pauses script execution when it reaches a breakpoint. You can examine the effects of the script run up to the breakpoint, make any necessary changes, and then restart the script from the breakpoint.

To resume execution, select Replay > Run. Once restarted, the script continues until it encounters another breakpoint or the end of the script.

Does not work.

  • 1
    I use F10 key to step by step. I add variables to Watch window and also check in Runtime data pane. Is that what you are expecting in LR? Commented Apr 19, 2017 at 18:55

1 Answer 1


Like you have pointed out, there is no debug mode in LoadRunner (as far as I recollect) like you would, in Eclipse IDE.

You will be able to place breakpoints on 'lr_' functions and when the script is run the execution will halt at the breakpoint. This can be used to verify, if the correlations and parameters substitution have occurred correctly up to the breakpoint.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.