Eclips and Sun Appserver debugging

zhaozj2021-02-12  145

About Eclips and Sun Appserver debugging

Open http://127.0.0.1:4848 console

Open the App Server InstancesàServer1 property in turn, select JVM Settings

1. Replace the debug options attribute value to the following strings:

-Djava.compiler = none -xdebug -xnoagent -xrunjdwp: Transport = DT_Socket, Server = Y, SUSPEND = n, address = 7777

The last address attribute is the port number of remote debugging

2. Select the debug enabled attribute

3. Click the Save button to save

4. In the App Server InstancesàServer1àGeneral property, select Start in Debug Mode

5. Application Modification Apply Changes Required

6. Restart service

Mono in the Eclips end:

Select RunàDebug Configuring Remote Java Application, New Remote Connection Instance

Configure it in the Connect property bar:

Projectà Select the current engineering, such as CMBC

Connection Type: Default

Connection Properties:

Host: 127.0.0.1

Port: 7777

Click Apply to save

Click Debug for debugging

转载请注明原文地址:https://www.9cbs.com/read-6917.html

New Post(0)