true
if this debugger supports Pop action
*/
public abstract boolean canPopFrames ();
+
+ /**
+ * Determines if the target debuggee can be modified.
+ *
+ * @return true
if the target debuggee can be modified or when
+ * this information is not available (on JDK 1.4).
+ * @since 2.3
+ */
+ public boolean canBeModified() {
+ return true;
+ }
/**
* Implements fix & continue (HotSwap). Map should contain class names
Index: api/manifest.mf
===================================================================
RCS file: /cvs/debuggerjpda/api/manifest.mf,v
retrieving revision 1.13
diff -u -r1.13 manifest.mf
--- api/manifest.mf 24 Sep 2005 00:37:04 -0000 1.13
+++ api/manifest.mf 21 Oct 2005 12:46:30 -0000
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
OpenIDE-Module: org.netbeans.api.debugger.jpda/2
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
-OpenIDE-Module-Specification-Version: 2.2
+OpenIDE-Module-Specification-Version: 2.3
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
Index: api/apichanges.xml
===================================================================
RCS file: /cvs/debuggerjpda/api/apichanges.xml,v
retrieving revision 1.11
diff -u -r1.11 apichanges.xml
--- api/apichanges.xml 18 Aug 2005 14:46:09 -0000 1.11
+++ api/apichanges.xml 21 Oct 2005 12:46:31 -0000
@@ -348,6 +348,23 @@
+ A possibility to detect whether the debuggee is read-only is added.
+ This check works fine on JDK 1.5 and higher, on JDK 1.4 it returns
+ true
by default.
+