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.
Now attach to process is disabled for "Dynamic Library" projects whereas gdb allows to debug them. IMO attach to process feature is mostly needed exactly to debug dynamic libraries including those that using JNI.
Are there any current plans to add the ability to "Attach to Process" to NB6.x? Or to create a more "integrated" Java<->JNI (C++) debugging experience? I'd love... And I mean... LOVE... the ability to debug a Java application's JNI methods easily from Netbeans. Currently, I use Data Display Debugger to attach to the running Java application so I can debug the JNI code, which is cumbersome. -- Dustin McCartney Chief Technology Officer DAM Entertainment LLC http://www.damentertainment.com
Integrated into 'main-golden', available in build *200808090201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/131629edf547 User: Gordon Prieur <gordonp@netbeans.org> Log: Attach to dynamic libraries (IZs #87677, #125513, #135721 and #125176). Preliminary work making it work on Solaris (although not heavily tested).
Fixed with the following changesets: http://hg.netbeans.org/main?cmd=changeset;node=131629edf547 http://hg.netbeans.org/main?cmd=changeset;node=4d610e09b65a http://hg.netbeans.org/main?cmd=changeset;node=2ccce30e80f6 http://hg.netbeans.org/main?cmd=changeset;node=b3d8ead9f5b2 http://hg.netbeans.org/main?cmd=changeset;node=d99fd787cfcc http://hg.netbeans.org/main?cmd=changeset;node=0ab5bbdcf7ed
verified in build 20080821