Paip. Summary of several methods for program debugging

Source: Internet
Author: User

Paip. Summary of several methods for program debugging

---- Author Attilax, 1466519819@qq.com ---
1. socketAttach
------------------------
The main method is to define a PORT in the server. The debugging end uses this PORT to communicate with the server ..
JPDA is used in JAVA.
A port is also required for XDEBUG in PHP.
. NET's good direction is not used yet ..
In JAVA, the setting is vm option...-agentlib: jdwp = transport = dt_socket, server = y, suspend = n, address = 8001.


2. sharedMemorty Attacht
---------------------------
When the service is started, define a sharedMemory... and set its NAME. The client uses this NAMAE for connection.
For example, tomcat_shared_memory_id

3. processAttach
------------------
This. NET method is used to attach W3WP for website debugging.
. NET is appended with the process name.
JAVA appends a PID.

4. SOCKET-LISTEN
--------------------
Basically, it is the reverse form of socketAttach.


5. sharedMemortyListen
---------------------------

 

 

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.