Connector --jdb.exe

Source: Internet
Author: User
--Jdb.exe -- general Linux technology-Linux programming and kernel information. For details, refer to the following section. The Java scheduler provides a command line debugging environment for Java programs. It can be executed either locally or in a conversation with a remote interpreter.
Jdb can be started on a local machine using the following command:

C: \> jdb classname
When you use the-debug option to start a Java routine, you must provide a Jdb password so that Jdb can start to run. The following table contains all jdb commands.


Option
Catch calssID is interrupted for a specific exception exit
Classes to list currently known classes
Clear classID: line clears a breakpoint
Cont continues from the breakpoint
Down [n frames] Move down the stack of a thread
Dump ID [ID...] displays information about all objects
Exit (or quit) to exit the debugger
Help (or ?) List all commands
Ignore classID ignores specific exception exits
List [line number] Show source code
Load classbame load the Java class to be debugged
Locals displays all local variables in the current stack frame
Memory reports memory usage
Methods classID: list the member function sets of a class.
Print ID [ID...] List objects or fields
Resume [threadID...] restores threads (by default, all threads are restored)
Run class [args] starts executing the downloaded Java class
Step: Execute the current row
Stop in classID: method sets a breakpoint in a member function
Stop at classID: Set a breakpoint for line
Suspend [threadID...] stops a thread (by default, all threads are stopped)
Hreads threadgroup list threads
Thread threadID sets the current thread
Threadgroups list thread groups
Threadgroup name sets the current thread group
Up [n frames] Move a thread stack up
Use [path] to display or change the source program path
Where [threadID] or all leave the heap line of a thread empty
!! Repeat the previous command
-Host hostname: This Command tells Jdb where to establish a remote Java interpreter conversation process.
-Password this option tells Jdb which password to use to connect to a remote Java conversation process. The password is provided by running the Java interpreter with the-debug option.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.