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.
NetBeans IDE 4.1 q-build [200503291306] on jdk 1.5.0_02 When using one of the connectors, the debugger fails to connect to debugged application. In debugger console following messages are written: Attaching to null com.sun.jdi.VMCannotBeModifiedException
Reproducible.
Probably fixed now. Lubo, can you check it, please? cvs commit -m "57242 SAPIDAttachingConnector and SACoreAttachingConnector fails to connetct" Operator.java (in directory C:\Hanz\Dev\trunk\debuggerjpda\src\org\netbeans\modules\debugger\jpda\util\) Checking in Operator.java; /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/util/Operator.java,v <-- Operator.java new revision: 1.33; previous revision: 1.32 done
The suggested fix had to be rolled back since it broke the build...
IIRC, support for SAPIDAttachingConnector and SACoreAttachingConnector were not planned for NB 4.1, as in JDK 5.0 this JDI functionality is not available on the Microsoft Windows platforms (nor on the Linux Itanium platform) -- plus we have not recieved any requests for that since NB 4.0. We will support this functionality for JDK 6.0, where all platforms should be available.