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
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
Keywords: API
Depends on: 101787
  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:

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

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

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