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 194529 - Debugger broken by garbage-collector
Summary: Debugger broken by garbage-collector
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-01-20 15:20 UTC by Martin Entlicher
Modified: 2011-01-22 06:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2011-01-20 15:20:32 UTC
When a GC is performed during debugging session, InstanceDataObjects that represent services registered for debugger session can be lost (garbage-collected). Due to the fix of issue #193760, the instances of appropriate services are re-created. As a result, new empty debugger session is created. In the UI the effect is empty Debugging view, Variables displaying no current thread message, etc.
Comment 1 Martin Entlicher 2011-01-20 15:58:58 UTC
Fixed by changeset:   186838:637b9aa2b72a
http://hg.netbeans.org/main/rev/637b9aa2b72a
Comment 2 Quality Engineering 2011-01-22 06:19:57 UTC
Integrated into 'main-golden', will be available in build *201101220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/637b9aa2b72a
User: mentlicher@netbeans.org
Log: #194529 Hold lookup items that produced instances of services. This is necessary to prevent from instance re-creation.