Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Latest commit

 

History

History
25 lines (18 loc) · 1.58 KB

CONTRIBUTING.md

File metadata and controls

25 lines (18 loc) · 1.58 KB
Debugger issues

Debbugger issues can be hard to track down, because of all the components involved: Goclipse, CDT, GDB, OS binary format, and Go toolchain.

Note: The Go toolchain does not properly support debugging in Windows. While setting breakpoints and step/continue seems to work, inspecting variables doesn't work.

If you think you've found a problem with the debugger integration, please try the following first:

  • Use latest version of Goclipse.
  • Use recommended/tested version of CDT (this is the CDT version that GoClipse has most recently been tested against). This is listed in the changelog for each GoClipse release.
  • Use latest stable GDB, and the latest stable Go compiler.
  • Make sure you are compiling with inline optimizations turned off, ie, compile with -gcflags "-N -l".

And most importantly:

  • Try to reproduce the problem outside of Eclipse, using just the command-line GDB interface. If the problem also occurs there, then it's an issue in either GDB or the Go compiler tools, not GoClipse. For more info on how to use command-line GDB, see http://golang.org/doc/gdb.

If it does seem to be a GoClipse problem, open a new issue in Github, providing the following info:

  • Configuration Log: Help/About/Installation Details/Configuration
  • Minimal source used to reproduce the issue (if possible).
  • The contents of gdb and gdb traces console in Eclipse, for your debug launch.

(if you're looking for a place to upload large files, you can use https://gist.github.com)

Contributing

The Goclipse project welcomes contributions. TODO more info