Second, "Golang development" Win7 (64-bit) under the Eclipse Configuration Golang Debug environment and code hints

Source: Internet
Author: User
Tags gocode
This is a created article in which the information may have evolved or changed.

Debug environment and code hints for Win7 (64-bit) under Eclipse configuration Golang


1. Golang The Code hints feature in eclipse:

1.1 Download Gocode source code , from https://github.com/nsf/gocode, download the source code to the Gopath path below, on the command line into the folder directory to execute Go Build build Gocode.exe (do not want to download the source code compiled can also directly upload my resources to find me to compile the production number of the Gocode file):




1.2 Eclipse Configuration Gocode, select the production gocode.exe file, apply accept and click OK to hold, the typing code appears prompt:



2. Debug the Golang program in Eclipse

2.1 directly under Gdb.exe (needed to look up from the resources I uploaded) and configure eclipse:



2.2 Test Debug function, the following interface appears in the console, indicating that the installation is successful, you can enter the GO command in the console to operate:




The required files can be found in the resource files I upload, specific debugging can follow my post.


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.