Eclipse sets remote debug, code prompt, ALT +/failure resetting

Source: Internet
Author: User
Tags jboss

I,EclipseSet remoteDebug

 

Enter the following information in debug-> remote Java application:

Project: myproject

Connection Properties

HOST: localhost

Port: 8000 (I have set address = 8000 in JBoss run. BAT)

Click Apply and then click Debug. The error "failed to connect to remote VM. connnection refused." is returned ."

 

I checked it online and said it may be because the firewall is on. The control panel is like Security Center, Windows Firewall, and click Close. Still does not work. Finally, I found that a connection has been established, and I did not pay attention to it. Then I click debug to establish another connection, so the above error will be reported. It took an hour to get started.

 

Remote debug settings:

 

 

Project: select your project name

Port: the debug port number set in the run. BAT file of JBoss.

 

Set in JBoss:

Set java_opts =-xdebug-xrunjdwp: Transport = dt_socket, address = 8000, Server = Y, suspend = n % java_opts %

 

 

Ii. EclipseCode prompt settings

 

After SWT designer was installed just now, it was prompted that the public could be absent.
Solution:

Windows> preferences> JAVA> editor> code assist

Enable auto-activetion in auto-activetion must be checked.

There is a time set to set the display time for the prompt code. You can set it according to your own situation.

But none of them can be automatically prompted. Check the previous eclipse settings to find them: window-> preferences-> JAVA-> Editor-> content assist-> select the proposal kinds contained in the 'default' content assist list on the "advanced" tab: to check the other Java proposals option.

Note:

In some cases, the code automatic function is invalid when the plug-in is installed in eclipse. You can also use the above method to modify it back.

Iii. Eclipse Alt +/Invalid Reset

Window-> preferences-> General-> keys
Word completion shortcut key set Alt +/

 

 

 

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.