Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Remote debug from Eclipse(How can I debug a kura bundle remotely from eclipse)
Remote debug from Eclipse [message #1592103] Thu, 29 January 2015 23:03 Go to next message
Dan Cristian is currently offline Dan CristianFriend
Messages: 17
Registered: January 2015
Junior Member
Hello,

Can you please advise how can I debug a running kura bundle remotely (on PI or BBB) from an eclipse instance running on WIndows? I could not find an obvious way, and I found in some kura presentations that remote debug is supported.

Many thanks
Dan

[Updated on: Thu, 29 January 2015 23:04]

Report message to a moderator

Re: Remote debug from Eclipse [message #1593497 is a reply to message #1592103] Fri, 30 January 2015 17:42 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello Dan,

I need to put up a quick tutorial on this, but in the mean time you can review this thread [1] from the mailing list. I have not verified this on Windows, but it does work on Linux/OS X. Let me know if you run into problems.

[1] http://dev.eclipse.org/mhonarc/lists/kura-dev/msg00143.html

Thanks,
--Dave
Re: Remote debug from Eclipse [message #1721885 is a reply to message #1593497] Mon, 01 February 2016 09:57 Go to previous messageGo to next message
Abel Gr is currently offline Abel GrFriend
Messages: 13
Registered: January 2016
Junior Member
Hi Dave, I did as your link to remote debug to my raspberry board.
But when I click to debug button as your instruction and wait a little, I received that message:
"Failed to connect to remote VM. Connection timed out.
org.eclipse.jdi.TimeoutException"

Although, I opened port 8000 for tcp. I also try another post as 1450 ( default open).
But I still receive same message.

Please help me fix this problem.

Thanks & best Regards,
Phuong.

[Updated on: Tue, 02 February 2016 03:41]

Report message to a moderator

Re: Remote debug from Eclipse [message #1721926 is a reply to message #1721885] Mon, 01 February 2016 17:08 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
Registered: July 2009
Location: Toulouse, France
Senior Member

This is port 8000 that you should open, not 80...

Re: Remote debug from Eclipse [message #1721972 is a reply to message #1721926] Tue, 02 February 2016 03:31 Go to previous messageGo to next message
Abel Gr is currently offline Abel GrFriend
Messages: 13
Registered: January 2016
Junior Member
Sorry, I typed wrong.
It's not 80. It's 8000.
Please review below pictures.


index.php/fa/24853/0/
index.php/fa/24854/0/

It's still not working. Although i added on Kura firewall and iptables.
Please help me.
Thanks & best regards,
Phuong.
Benjamin Cabé wrote on Mon, 01 February 2016 17:08
This is port 8000 that you should open, not 80...



[Updated on: Tue, 02 February 2016 04:29]

Report message to a moderator

Re: Remote debug from Eclipse [message #1722385 is a reply to message #1721972] Thu, 04 February 2016 13:48 Go to previous message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

Did you stop Kura and restart using sudo ./start_kura_debug.sh from the /opt/eclipse/kura/bin directory? If so, this should have placed you in an OSGi console. Please provide the output of the 'ss' and 'ls' commands. Please also provide the contents of /var/log/kura.log and /var/log/kura-console.log.

Thanks,
--Dave
Previous Topic:how to create an osgi bundle that can deploy on kura?
Next Topic:Snapshot_0.xml or metatype info
Goto Forum:
  


Current Time: Thu Apr 25 14:55:17 GMT 2024

Powered by FUDForum. Page generated in 0.03564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top