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.
I know that there is always a lot of people asking how to debug NetBeans. We have the ant tryme -Ddebug.port=x but many people are not able to find it. For them I decided to enhance the NbProject support and all these projects to be debugged. When invoked, new NetBeans are started and a debuger is connected to the VM. Please review and either apply or let me know whether it is good enough to be applied and when (beta2?) and assign to me.
Created attachment 17373 [details] Changes in Actions, build.xml and projectized.xml
Created attachment 17415 [details] Simplified version
Created attachment 17426 [details] Simplified version that works (sorry)
Looks OK to me. BTW the <classpath> in <nbjpdastart> is supposed to be optional - source stepping should work without it, try it.
Re: classpath does not look optional. Without it I get NPEs. cvs ci -m "Adding debugging support to netbeans project types" apisupport/project/src/org/netbeans/modules/apisupport/project/Actions.java nbbuild/templates/projectized.xml Checking in apisupport/project/src/org/netbeans/modules/apisupport/project/Actions.java; /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/Actions.java,v <-- Actions.java new revision: 1.22; previous revision: 1.21 done Processing log script arguments... More commits to come... Checking in nbbuild/templates/projectized.xml; /cvs/nbbuild/templates/projectized.xml,v <-- projectized.xml new revision: 1.25; previous revision: 1.24
Well could you please file those NPEs then? So they can get fixed? Because it is supposed to be optional.