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.
JPDADebugger.startListening takes an Object[] services with no further documentation as to what this might be. From grepping sources starting at maven.debug.JPDAStart or debugger.jpda.ant.JPDAStart you can find that SourcePathProviderImpl expects a Map<String,Object> and that e.g. "sourcepath" should be set to a ClassPath object of some sort. This does not appear to be documented anywhere. I would expect the startListening Javadoc (or some Javadoc it links to) to specify particular services it expects, and for the Map<String,Object> to have a list of expected Java constants (used by both SPPI and all known clients), each of which would have Javadoc explaining what type its value should be and how that value is to be interpreted.
Fixed by changeset: 224380:bb3716818a5a http://hg.netbeans.org/main/rev/bb3716818a5a
Integrated into 'main-golden', will be available in build *201206150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bb3716818a5a User: mentlicher@netbeans.org Log: #209251: Description of Object[] services argument is added.