Java: Remote Debug

Source: Internet
Author: User

Java Remote Debugging
-xdebug-xnoagent-djava.compiler=none-xrunjdwp:transport=dt_socket,server=y,address=5005, suspend=n

Description

-xdebug enable debugging.
-xnoagent disables the default Sun.tools.debug debugger. If you disable the agent, you can not use the attach way to connect debugging remotely, so this option is generally not used.
-djava.compiler=none suppresses the loading of the JIT compiler.
-XRUNJDWP loads the JDWP JPDA reference execution instance.
Transport is used to communicate between the debugger and the process used by the VM.
Dt_socket socket transmission.
Dt_shmem shared memory transfers are limited to Windows.
server=y/n whether the VM needs to be executed as a debug server.
address=3999 the port number of the debug server that the client uses to connect to the server.
suspend=y/n whether to start the VM after the debugging client establishes a connection.

Java: Remote Debug

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.