Skip to main content



      Home
Home » Newcomers » Newcomers » debugger startup takes a long time
debugger startup takes a long time [message #233523] Wed, 19 September 2007 12:32 Go to next message
Eclipse UserFriend
Originally posted by: harry.duin.gmail.com

Hi,

I have a java project consisting of several thousand files. I am using the
clearcase plugin. When I create a new project (which I do frequently for
new clearcase views) I create a project from existing src code. Then I set
up a remote debugging entry to allow me to debug code running on a remote
UNIX box.

These are some of the problems I am encountering. None of these are show
stoppers, but these problems cause significant slowdown.

1. when I invoke the debugger, Eclipse can take up to 30 mins for the
debugger to get started. I see a small launching message in the bottom
right. I expect Eclipse is compiling all the code. Is there any way to
stop this from happening, as I am not interested in Eclipse compiling the
code. I want Eclipse to simply connect to the remote JVM and start the
debugging.

2. I instruct Eclipse to NOT build projects automatically. But each time I
start a new workspace, this setting is gone. How do I tell Eclipse to use
settings across workspaces? I create a new workspace for each project I am
creating (since each project is really the same code, but a different
clearcase view). I also have a setting to force spaces for tabs. That
setting is not working across workspace either.

Any help is appreciated.

-hd
Re: debugger startup takes a long time [message #233636 is a reply to message #233523] Wed, 19 September 2007 22:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Harry Duin wrote:
> Hi,
>
> I have a java project consisting of several thousand files. I am using
> the clearcase plugin. When I create a new project (which I do frequently
> for new clearcase views) I create a project from existing src code. Then
> I set up a remote debugging entry to allow me to debug code running on a
> remote UNIX box.
>
> These are some of the problems I am encountering. None of these are show
> stoppers, but these problems cause significant slowdown.
>
> 1. when I invoke the debugger, Eclipse can take up to 30 mins for the
> debugger to get started. I see a small launching message in the bottom
> right. I expect Eclipse is compiling all the code. Is there any way to
> stop this from happening, as I am not interested in Eclipse compiling
> the code. I want Eclipse to simply connect to the remote JVM and start
> the debugging.

I doubt it is a build that is causing the slow response - more likely
there is some network issue between your machine and the server where
the app is running. I don't have any brilliant suggestions for tracking
down the exat nature of such a problem, unfortunately. Can you try
running the app on your machine locally and connect to that instance
with Eclipse?

Another problem might be the Clearcase view - is it a true local view or
mounted on a remote file system? Really huge projects might expose a
network with a latency problem since Eclipse does LOTS of file I/O with
the files of a project. I'm not sure if "several thousand files"
qualifies as "really huge" though - I've worked on at least one project
of that size and it only took as long to start debugging as the bloated
app server took to start up in a debug-enabled JVM.

> 2. I instruct Eclipse to NOT build projects automatically. But each time
> I start a new workspace, this setting is gone. How do I tell Eclipse to
> use settings across workspaces? I create a new workspace for each
> project I am creating (since each project is really the same code, but a
> different clearcase view). I also have a setting to force spaces for
> tabs. That setting is not working across workspace either.

Preferences are tied to a workspace. You can use File > Import/Export to
copy them from one workspace to another.

Hope this helps,
Eric
Re: debugger startup takes a long time [message #233759 is a reply to message #233636] Thu, 20 September 2007 09:20 Go to previous message
Eclipse UserFriend
Originally posted by: harry.duin.gmail.com

Eric,

I do think that Eclipse started a build caused the huge delay. I followed
an earlier suggestion of turning off build before launch
Window>Preferences>Run/Debug>Launching> Build (if required) and now the debug
session starts right away.

I apologize for the double posting of a question.

-hd
Previous Topic:Configuring CVS and Eclipse
Next Topic:sharing property files between projects
Goto Forum:
  


Current Time: Tue May 06 09:49:06 EDT 2025

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

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

Back to the top