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 202782 - DebuggerEngineProvider.Registration behaves different than META-INF/debugger
Summary: DebuggerEngineProvider.Registration behaves different than META-INF/debugger
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 15:18 UTC by Eduardo.m Costa
Modified: 2011-09-28 15:18 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo.m Costa 2011-09-28 15:18:50 UTC
I'm developing a debugger for a custom FW. I've followed this tutorial:

http://netbeans.dzone.com/how-reuse-netbeans-debugger

It works like a charm, but, if clean the project and change DebuggerEngineProvider registration from META-INF/debugger to @DEP.Registration, the behavior changes. 

ContextProvider.lookupFirst(null, DEP) returns a CMinusEP if using META-INF/debugger and DEP.ContextAware with annotations.

Seems like a bug to me. IMHO, both should have the same result. If this is not the case, the documentation must include this difference in behavior.