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 48488 - Add support for debugging of NetBeans modules
Summary: Add support for debugging of NetBeans modules
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 42682
  Show dependency tree
 
Reported: 2004-09-05 11:41 UTC by Jaroslav Tulach
Modified: 2005-03-28 22:17 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Changes in Actions, build.xml and projectized.xml (4.33 KB, patch)
2004-09-05 11:43 UTC, Jaroslav Tulach
Details | Diff
Simplified version (2.50 KB, patch)
2004-09-07 07:31 UTC, Jaroslav Tulach
Details | Diff
Simplified version that works (sorry) (2.53 KB, patch)
2004-09-07 13:44 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-09-05 11:41:17 UTC
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.
Comment 1 Jaroslav Tulach 2004-09-05 11:43:23 UTC
Created attachment 17373 [details]
Changes in Actions, build.xml and projectized.xml
Comment 2 Jaroslav Tulach 2004-09-07 07:31:58 UTC
Created attachment 17415 [details]
Simplified version
Comment 3 Jaroslav Tulach 2004-09-07 13:44:39 UTC
Created attachment 17426 [details]
Simplified version that works (sorry)
Comment 4 Jesse Glick 2004-09-07 18:34:41 UTC
Looks OK to me.

BTW the <classpath> in <nbjpdastart> is supposed to be optional -
source stepping should work without it, try it.
Comment 5 Jaroslav Tulach 2004-09-08 11:45:58 UTC
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
Comment 6 Jesse Glick 2004-09-08 15:18:15 UTC
Well could you please file those NPEs then? So they can get fixed?
Because it is supposed to be optional.