Idea ID: 2878147

Been able to debug a Java script within IntelliJ

Status: Declined

Due to limitation in Intellij debugger this can not be technically implemented.

See status update history

Despite the fact that the documentation clearly mentions it, it is not currently possible to debug a script in IntelliJ. This has been confirmed by support and they ask to create an enhancement request if we want this functionality

 

https://admhelp.microfocus.com/vugen/en/2022-2022-r2/help/WebHelp/Content/VuGen/Vuser_script_Intellij.htm#:~:text=You%20can%20add%20breakpoints%2C%20view%20variable%20values%2C%20add%20references%2C%20and%20edit%20the%20script%20using%20intelligent%20code%20completion.%20You%20can%20also%20run%20the%20script%20in%20a%20step%2Dby%2Dstep%20mode%20for%20debugging.

 

Please allow us to to take advantage of additional tools to view, edit, and debug our Java Vuser, Java Record Replay, or Java over HTTP scripts from IntelliJ by adding breakpoints, view variable values and run the script in a step-by-step mode for debugging.

 

Here what we want

1. Install IntelliJ (only version 2019.1, 2019.2 or 2019.3 is currently supported)

2. Install the LoadRunner addin for IntelliJ

3. Create a LoadRunner project in IntelliJ

4. Add a breakpoint on the “action” method of the “Action” class created during project creation

5. Start execution via the Vuser>>Run Vuser menu

The test should run and stop at the breakpoint.