⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jdwp.spec

📁 This is a resource based on j2me embedded,if you dont understand,you can connection with me .
💻 SPEC
📖 第 1 页 / 共 5 页
字号:
/* * @(#)jdwp.spec	1.57 06/10/25 * * Copyright  1990-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 only, as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License version 2 for more details (a copy is * included at /legal/license.txt). * * You should have received a copy of the GNU General Public License * version 2 along with this work; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa * Clara, CA 95054 or visit www.sun.com if you need additional * information or have any questions. */JDWP "Java(tm) Debug Wire Protocol"(CommandSet VirtualMachine=1    (Command Version=1         "Returns the JDWP version implemented by the target VM. "	"The version string format is implementation dependent. "	(Out         )        (Reply 	    (string description "Text information on the VM version")	    (int    jdwpMajor   "Major JDWP Version number")	    (int    jdwpMinor   "Minor JDWP Version number")	    (string vmVersion   "Target VM JRE version, as in the java.version property")	    (string vmName      "Target VM name, as in the java.vm.name property")        )        (ErrorSet            (Error VM_DEAD)           )    )    (Command ClassesBySignature=2        "Returns reference types for all the classes loaded by the target VM "	"which match the given signature. "	"Multple reference types will be returned if two or more class "	"loaders have loaded a class of the same name. "	"The search is confined to loaded classes only; no attempt is made "	"to load a class of the given signature. "	(Out	    (string signature "JNI signature of the class to find "	                      "(for example, \"Ljava/lang/String;\"). "            )        )        (Reply             (Repeat classes "Number of reference types that follow."                 (Group ClassInfo                    (byte refTypeTag  "<a href=\"#JDWP_TypeTag\">Kind</a> "		                      "of following reference type. ")                    (referenceTypeID typeID "Matching loaded reference type")                    (int status "The current class "		                "<a href=\"#JDWP_ClassStatus\">status.</a> ")                )            )        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command AllClasses=3        "Returns reference types for all classes currently loaded by the "	"target VM."	(Out         )        (Reply             (Repeat classes "Number of reference types that follow."                 (Group ClassInfo                    (byte refTypeTag  "<a href=\"#JDWP_TypeTag\">Kind</a> "		                      "of following reference type. ")                    (referenceTypeID typeID "Loaded reference type")                    (string signature                                 "The JNI signature of the loaded reference type")                    (int status "The current class "		                "<a href=\"#JDWP_ClassStatus\">status.</a> ")                )            )        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command AllThreads=4        "Returns all threads currently running in the target VM . "	"The returned list contains threads created through "	"java.lang.Thread, all native threads attached to "	"the target VM through JNI, and system threads created "	"by the target VM. Threads that have not yet been started "	"and threads that have completed their execution are not "	"included in the returned list. "        (Out        )        (Reply            (Repeat threads "Number of threads that follow."                 (threadObject thread "A running thread")            )        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command TopLevelThreadGroups=5        "Returns all thread groups that do not have a parent. This command "	"may be used as the first step in building a tree (or trees) of the "	"existing thread groups."        (Out        )        (Reply            (Repeat groups "Number of thread groups that follow."                 (threadGroupObject group "A top level thread group")            )        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command Dispose=6	"Invalidates this virtual machine mirror. "	"The communication channel to the target VM is closed, and "	"the target VM prepares to accept another subsequent connection "	"from this debugger or another debugger, including the "	"following tasks: "	"<ul>"	"<li>All event requests are cancelled. "	"<li>All threads suspended by the thread-level "	"<a href=\"#JDWP_ThreadReference_Resume\">resume</a> command "	"or the VM-level "	"<a href=\"#JDWP_VirtualMachine_Resume\">resume</a> command "	"are resumed as many times as necessary for them to run. "	"<li>Garbage collection is re-enabled in all cases where it was "	"<a href=\"#JDWP_ObjectReference_DisableCollection\">disabled</a> "	"</ul>"	"Any current method invocations executing in the target VM "	"are continued after the disconnection. Upon completion of any such "	"method invocation, the invoking thread continues from the "	"location where it was originally stopped. "	"<p>"	"Resources originating in  "	"this VirtualMachine (ObjectReferences, ReferenceTypes, etc.) "	"will become invalid. "        (Out        )        (Reply        )        (ErrorSet        )    )    (Command IDSizes=7        "Returns the sizes of variably-sized data types in the target VM."	"The returned values indicate the number of bytes used by the "	"identifiers in command and reply packets."        (Out        )        (Reply            (int fieldIDSize "fieldID size in bytes ")            (int methodIDSize "methodID size in bytes ")            (int objectIDSize "objectID size in bytes ")            (int referenceTypeIDSize "referenceTypeID size in bytes ")            (int frameIDSize "frameID size in bytes ")        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command Suspend=8	"Suspends the execution of the application running in the target "	"VM. All Java threads currently running will be suspended. "	"<p>"	"Unlike java.lang.Thread.suspend, "	"suspends of both the virtual machine and individual threads are "	"counted. Before a thread will run again, it must be resumed through "	"the <a href=\"#JDWP_VirtualMachine_Resume\">VM-level resume</a> command "	"or the <a href=\"#JDWP_ThreadReference_Resume\">thread-level resume</a> command "	"the same number of times it has been suspended. "        (Out        )        (Reply        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command Resume=9        "Resumes execution of the application after the suspend "        "command or an event has stopped it. "	"Suspensions of the Virtual Machine and individual threads are "	"counted. If a particular thread is suspended n times, it must "	"resumed n times before it will continue. "        (Out        )        (Reply        )        (ErrorSet        )    )    (Command Exit=10        "Terminates the target VM with the given exit code. "        "On some platforms, the exit code might be truncated, for "        "example, to the low order 8 bits. "	"All ids previously returned from the target VM become invalid. "	"Threads running in the VM are abruptly terminated. "	"A thread death exception is not thrown and "	"finally blocks are not run."        (Out            (int exitCode "the exit code")        )        (Reply        )        (ErrorSet        )    )    (Command CreateString=11        "Creates a new string object in the target VM and returns "	"its id. "         (Out	    (string utf "UTF-8 characters to use in the created string. ")        )        (Reply            (stringObject stringObject                 "Created string (instance of java.lang.String) ")        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command Capabilities=12        "Retrieve this VM's capabilities. The capabilities are returned "	"as booleans, each indicating the presence or absence of a "	"capability. The commands associated with each capability will "	"return the NOT_IMPLEMENTED error if the cabability is not "	"available."        (Out        )        (Reply            (boolean canWatchFieldModification 	             "Can the VM watch field modification, and therefore "		     "can it send the Modification Watchpoint Event?")            (boolean canWatchFieldAccess 	             "Can the VM watch field access, and therefore "		     "can it send the Access Watchpoint Event?")            (boolean canGetBytecodes 	             "Can the VM get the bytecodes of a given method? ")            (boolean canGetSyntheticAttribute 	             "Can the VM determine whether a field or method is "		     "synthetic? (that is, can the VM determine if the "		     "method or the field was invented by the compiler?) ")            (boolean canGetOwnedMonitorInfo 	             "Can the VM get the owned monitors infornation for "		     "a thread?")            (boolean canGetCurrentContendedMonitor 	             "Can the VM get the current contended monitor of a thread?")            (boolean canGetMonitorInfo 	             "Can the VM get the monitor information for a given object? ")        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command ClassPaths=13        "Retrieve the classpath and bootclasspath of the target VM. "	"If the classpath is not defined, returns an empty list. If the "        "bootclasspath is not defined returns an empty list."        (Out        )        (Reply	    (string baseDir "Base directory used to resolve relative "	                    "paths in either of the following lists.")            (Repeat classpaths "Number of paths in classpath."                (string path "One component of classpath") )            (Repeat bootclasspaths "Number of paths in bootclasspath."                (string path "One component of bootclasspath") )        )        (ErrorSet            (Error VM_DEAD)        )    )    (Command DisposeObjects=14        "Releases a list of object IDs. For each object in the list, the "        "following applies. "        "The count of references held by the back-end (the reference "        "count) will be decremented by refCnt. "        "If thereafter the reference count is less than "        "or equal to zero, the ID is freed. "        "Any back-end resources associated with the freed ID may "        "be freed, and if garbage collection was "        "disabled for the object, it will be re-enabled. "        "The sender of this command "        "promises that no further commands will be sent "        "referencing a freed ID.	"<p>"	"Use of this command is not required. If it is not sent, "	"resources associated with each ID will be freed by the back-end "	"at some time after the corresponding object is garbage collected. "	"It is most useful to use this command to reduce the load on the "	"back-end if a very large number of "	"objects has been retrieved from the back-end (a large array, "

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -