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 173026 - Don't load org.netbeans.modules.cnd.debugger classes at startup
Summary: Don't load org.netbeans.modules.cnd.debugger classes at startup
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL: http://wiki.netbeans.org/FitnessViaWh...
Keywords: PERFORMANCE, REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2009-09-24 14:36 UTC by Oleg Khokhlov
Modified: 2010-03-15 22:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktraces (23.08 KB, text/xml)
2009-09-24 14:36 UTC, Oleg Khokhlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2009-09-24 14:36:22 UTC
Performance test reports that the following classes loaded during startup:

    org.netbeans.modules.cnd.debug.DebugUtils
    org.netbeans.modules.cnd.debugger.common.EditorContext
    org.netbeans.modules.cnd.debugger.common.EditorContextBridge
    org.netbeans.modules.cnd.debugger.common.EditorContextImpl
    org.netbeans.modules.cnd.debugger.common.breakpoints.ToggleBreakpointActionProvider

Comment from jtulach: "P3 Bug for cnd, and probably a task for creation of new API for mentlicher. These classes shall
not be loaded just because cnd's ToggleBreakpointActionProvider is initialized. The provider shall not be active until
appropriate mime type appears in editor. The new API is unlikely 
to happen for 6.8, but Martin Entlicher promised to create it early in 6.9 cycle."

Build 20090922

test: ant in ide.kit/tests/whitelist
Comment 1 Oleg Khokhlov 2009-09-24 14:36:48 UTC
Created attachment 88291 [details]
stacktraces
Comment 2 Leonid Lenyashin 2009-09-28 12:42:11 UTC
Please evaluate
Comment 3 Vladimir Voskresensky 2009-09-28 15:46:27 UTC
There is a Debug->New Breakpoint entry point as well.
Looking for new API from Martin for lazy initialization (should be done on debugger level => nothing to do in cnd)
Comment 4 Vladimir Voskresensky 2009-09-28 16:55:01 UTC
org.netbeans.modules.cnd.debug.DebugUtils is valid class previously named org.netbeans.modules.cnd.apt.debug.DebugUtils
Updated whitelist
http://hg.netbeans.org/cnd-main/rev/e02e9c06ab26
Comment 5 Vladimir Voskresensky 2010-03-15 22:38:50 UTC
already fixed