Skip to main content
1-Visitor
April 28, 2017
Solved

How to debug Thingworx extensions/widget from Eclipse extension for Thingworx ?

  • April 28, 2017
  • 4 replies
  • 3205 views

Hello everyone,

I referred this document https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS219756&lang=en&source=snippet to enable debugging from Eclipse but when  I am following the second method -> Debug as Remote Application,I am getting time-out error.My Thingworx instance is on other machine and eclipse on another.

Can anyone help me with this ?

Best answer by supandey

I understand that you are using 2nd method but still could you try putting the debug java options on tomcat , basically the ones highlighted in 1st method

  • ​​-Xdebug
  • -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

Additionally, could you also make sure that connection attempt is not blocked by the firewall in between the machines.

4 replies

5-Regular Member
April 28, 2017

Kirti, just to confirm is your ThingWorx accessible from the machine where eclipse is installed, i.e. from the web browser? Could you share the complete error message/log?

kchouhan1-VisitorAuthor
1-Visitor
April 28, 2017

Thanks Sushant for your prompt response,

Yes,Thingworx is accessible from that machine.I am sharing the debug configuration and error screenshots,If this can help..

debugConfig.pngdebugError.PNG

To resolve this,I also tried increasing the debugging timeout,but didn't help.Are there any commands that should be run from thingworx side?...Could you please tell what are the steps we need to follow.

Thanks &Regards,

supandey5-Regular MemberAnswer
5-Regular Member
April 28, 2017

I understand that you are using 2nd method but still could you try putting the debug java options on tomcat , basically the ones highlighted in 1st method

  • ​​-Xdebug
  • -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

Additionally, could you also make sure that connection attempt is not blocked by the firewall in between the machines.