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 54883 - Can't debug runnable classes in NB 4.0 for custom projects
Summary: Can't debug runnable classes in NB 4.0 for custom projects
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-11 15:33 UTC by wnichols
Modified: 2010-04-29 09:21 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 wnichols 2005-02-11 15:33:21 UTC
I have many ant based java projects which are
built with custom ant scripts.  These projects
have MANY runnable classes because of an old non
junit based testing scheme.  With NB 3.X I was
able to debug any runnable file simply by pressing
the debug button.  However in NB 4.x it appears
that, for custom ant script type projects, I have
to have debugging targets built into the ant file.
 This is a non starter for this company!  We do
not have any IDE dependencies in any of our build
files nor will any be allowed.  If this behavior
cannot be changed I will have to convert the dev
group to using Eclipse, which IMHO is not as tight
an IDE.
Wendell Nichols
Comment 1 wnichols 2005-02-15 16:35:54 UTC
I found a circumvention for this problem.
1. Create the project from existing sources as a project with existing
sources.  Use the project's build file only for debugging.
2. To build the project access the existing build.xml file via the
file explorer and run targets in it as neccessary.
3. you may need to add archives to the project properties to acomplish
proper debugging and editing of the code (for code completion).
Comment 2 Quality Engineering 2010-04-29 09:21:11 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.