This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 91117 - Live lock while starting debugger
Summary: Live lock while starting debugger
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: API
Depends on: 101787
Blocks:
  Show dependency tree
 
Reported: 2006-12-15 12:22 UTC by Martin Entlicher
Modified: 2007-04-23 22:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The full thread dump. (19.20 KB, text/plain)
2006-12-15 12:23 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2006-12-15 12:22:23 UTC
This is a regression in the behavior. When the debugger is started and the
sources are not yet fully scanned, the action just blocks in AWT and waits for
the scan to finish. This blocks all UI and NetBeans are not responsive until the
scan finishes. There was a dialog notifying about the necessity to wait for the
scan in the past.
Comment 1 Martin Entlicher 2006-12-15 12:23:25 UTC
Created attachment 36687 [details]
The full thread dump.
Comment 2 Tomas Zezula 2007-02-14 10:34:39 UTC
Requires the new API like runWhenScannedFinished (Runnable). There are already
SourceUtils.isScanInProgress () and SourceUtils.waitScanFinished().
Comment 3 Tomas Zezula 2007-04-23 22:10:21 UTC
If you have a task which need to be done when scan is done use
JavaSource.runWhenScanFinished().

Checking in apichanges.xml;
/cvs/java/source/apichanges.xml,v  <--  apichanges.xml
new revision: 1.8; previous revision: 1.7
done
Checking in nbproject/project.properties;
/cvs/java/source/nbproject/project.properties,v  <--  project.properties
new revision: 1.18; previous revision: 1.17
done
Checking in src/org/netbeans/api/java/source/JavaSource.java;
/cvs/java/source/src/org/netbeans/api/java/source/JavaSource.java,v  <-- 
JavaSource.java
new revision: 1.45; previous revision: 1.44
done
Checking in src/org/netbeans/modules/java/source/classpath/GlobalSourcePath.java;
/cvs/java/source/src/org/netbeans/modules/java/source/classpath/GlobalSourcePath.java,v
 <--  GlobalSourcePath.java
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v
 <--  RepositoryUpdater.java
new revision: 1.49; previous revision: 1.48
done
Checking in test/unit/src/org/netbeans/api/java/source/JavaSourceTest.java;
/cvs/java/source/test/unit/src/org/netbeans/api/java/source/JavaSourceTest.java,v
 <--  JavaSourceTest.java
new revision: 1.11; previous revision: 1.10
done