Forum Discussion

Suzanne's avatar
Suzanne
Occasional Contributor
10 years ago

Debug for Plugin Development?

I've got a very small plugin sample (created in Eclipse) working - is it possible to attach a debugger?

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    You will need export your plugin i.e jar file from eclipse with the source included. Once the plugin (jar file) is loaded into SoapUI Pro, please add the following options to <SoapUI Pro install>\bin\soapui-pro.bat JAVA_OPTS line and restart SoapUI Pro using the soapui-pro.bat file.

    -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n

    Then in eclipse you will need to set your break points in the Debug perspective, create a Remote JAVA application debug configuration using the corresponding values for jdwp set in the soapui-pro.bat file, and start it. Please see screen shot attached.

    Let me know if you have further questions.


    Regards,
    Marcus
    SmartBear Support