Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » remote debugging question
remote debugging question [message #892573] Thu, 28 June 2012 16:09 Go to next message
d grin is currently offline d grinFriend
Messages: 12
Registered: June 2012
Junior Member
Im trying to remote debug some work of mine that is on a tomcat server. I used sshfs so that I can see the code locally. So what I have now is a remote debug session which can see the threads and stop them. I also pointed it to the source code, so I can see the code that I stopped. However, when I view the code, it is all in read only form. Can I change this? I would like to be able to modify and save the code from eclipse.
Re: remote debugging question [message #893182 is a reply to message #892573] Tue, 03 July 2012 06:29 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 28.06.2012 18:09, d grin wrote:
> Im trying to remote debug some work of mine that is on a tomcat
> server. I used sshfs so that I can see the code locally. So what I
> have now is a remote debug session which can see the threads and stop
> them. I also pointed it to the source code, so I can see the code that
> I stopped. However, when I view the code, it is all in read only form.
> Can I change this? I would like to be able to modify and save the code
> from eclipse.
You need to have the relevant code in source in your workspace. If it is
Eclipse code we're talking about, then you can do this via File >
Import... > Plug-ins and Fragments. I recommend to import directly from
the repository.

Dani
Re: remote debugging question [message #900898 is a reply to message #893182] Wed, 08 August 2012 21:34 Go to previous messageGo to next message
d grin is currently offline d grinFriend
Messages: 12
Registered: June 2012
Junior Member
Sorry for necroing this, I totally forgot I asked this.

All of the files are regular java files - not in an eclipse project or anything. Do I have to create a project with the code? I should add that I dont want to remake the project everything every time I relogin (since sshfs doesnt persist when you are logged off the source code 'vanishes' when you log back in, which I presume will not make eclipse happy). Does this mean I would have to make the project on the server that has the code?

[Updated on: Wed, 08 August 2012 21:35]

Report message to a moderator

Re: remote debugging question [message #900900 is a reply to message #900898] Wed, 08 August 2012 21:38 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
You probably want to look at the Web Tools Platform. That allows you to develop web applications. There is also a forum for questions about the tools.
Previous Topic:eclipse-jee-juno-win32-x86_64 closes unexpectedly after startup
Next Topic:Ant not working (PDT) - AntJRETab error - Bugged it
Goto Forum:
  


Current Time: Thu Mar 28 23:57:14 GMT 2024

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

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

Back to the top