Bug 20355 - Breakpoint takes 20 s to apply
Summary: Breakpoint takes 20 s to apply
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 11:44 EDT by Unknown User CLA
Modified: 2005-01-18 16:44 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown User CLA 2002-06-14 11:44:21 EDT
I am debugging a very large application based on the WSW platform.  It has 
about 275 plugins.  If I try to add a breakpoint to the code while the platform 
is running (in debug mode) it takes about 20 s for the breakpoint to appear 
after I double click on the marker bar.  

The debug source is part of a project within my workspace.  

Perhaps I should go for a coffee while I set my breakpoint.
Comment 1 Darin Wright CLA 2002-06-14 11:52:27 EDT
Need more info: What version of Eclipse? What VM are you using (i.e. what VM 
are you running Eclipse on)? Do you have any programs running when setting the 
breakpoints?
Comment 2 Unknown User CLA 2002-06-14 14:30:56 EDT
I am running F3

C:\WINNT\system32>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010502 (JIT enabled: jitc)
)

At the time I probably had Lotus Notes and Sametime running.  I may have also 
had Netscape Composer / Navigator running.
Comment 3 Darin Wright CLA 2002-06-20 13:25:20 EDT
deferred for post 2.0 investigation.
Comment 4 Darin Wright CLA 2002-08-28 12:02:37 EDT
re-open to close
Comment 5 Darin Wright CLA 2002-08-28 12:02:50 EDT
Uable to reproduce
Comment 6 Paul Smith CLA 2003-07-10 01:57:08 EDT
I'd like to comment that this is still pretty bad under my environment, but not 
20's, more like 2 seconds, but the lag is sufficient to wonder what's going on, 
perhaps the break point wasn't set, so you double click again.   Quite 
frustrating.

Happens on my environment under Sun JDK1.4.0 and Sun JDK1.4.2, running on 
Windows 2k, with PIII 1.7 Ghz, 1 Gb RAM.
Comment 7 Darin Wright CLA 2003-07-10 09:58:51 EDT
Paul, can you provide a test case - i.e. the compilation unit where you are 
setting the breakpoint?
Comment 8 Paul Smith CLA 2003-07-10 18:02:27 EDT
[This next comment was accidently posted to an incorrect bug, pasting into 
correct Bug report]

Hi Darin,

I created a brand new project, with a single class in it, and while in the Java 
Browsing perspective, setting break points is fine with a single class  in the 
project.  Even debugging this basic project is snappy setting/removing the 
break points.

However, with two other projects which have 1,400 and ~1000 source files in 
them, the snappiness is gone.  Seems to be related to the size of the project?

I could attach one the projects as an entire directory to this bug if it would 
work for you (this is the jakarta-log4j module that I am working on so it's 
Open Source), the other project is proprietary and I couldn't provide that.

I think you also responded to Bug #20487 regarding Content assist, and I'm 
thinking this is also related to the size of the debugging project.

Both projects use the same VM, Sun JDK 1.4.2. Just changed to this new VM 
recently, but we were using Sun JDK 1.4.0 for many months with the same 
problems.