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 12:09 Go to next message
d grin is currently offline d grin
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 02:29 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
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 17:34 Go to previous messageGo to next message
d grin is currently offline d grin
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 17:35]

Report message to a moderator

Re: remote debugging question [message #900900 is a reply to message #900898] Wed, 08 August 2012 17:38 Go to previous message
David Wegener is currently offline David Wegener
Messages: 1298
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 Apr 17 03:34:46 EDT 2014

Powered by FUDForum. Page generated in 0.06111 seconds