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.
We use properties to determine ant file. We have a target like this <target name="doc" description="Help Document for App" depends="init"> <ant antfile="${build.xml.file}" target="help" inheritall="true" inheritrefs="true"/> </target> Note that the antfile refers to a property value. The ant debugger fails with the follwing message: -------------------------------- start ----------------- project-build.xml:27: The following error occurred while executing this line: java.lang.InternalError: path not found BUILD FAILED (total time: 3 seconds) ------------------------ end --------------------
Thrown from AntDebugger.updateInternalStack.
Reproduced. Run Target works fine, but Debug Target not.
This is caused by a limitation of the ant debugger - it suppose that just one script is debugged. It does not consider debugging accross several scripts. This needs to be added...
The AntDebugger class was mostly rewritten, the concept of creating a call stack was changed: /cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/AntDebugger.java,v <-- AntDebugger.java new revision: 1.3; previous revision: 1.2 /cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/DebuggerAntLogger.java,v <-- DebuggerAntLogger.java new revision: 1.3; previous revision: 1.2
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.