Skip to content

Debugging Go does not work #252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
isaiahtaylor opened this issue Mar 15, 2019 · 9 comments
Closed

Debugging Go does not work #252

isaiahtaylor opened this issue Mar 15, 2019 · 9 comments
Labels
bug Something isn't working

Comments

@isaiahtaylor
Copy link

  • code-server version:
$ code-server --version
server/development linux-x64 node-v8.15.0
  • OS Version:
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
...

Description

Cannot debug Go. It stays in a loop for a while, cannot find any log failures.

Steps to Reproduce

  1. Start the server and log in
  2. Write a go file
  3. Add a breakpoint somewhere
  4. Click "debug"
  5. Hit "run"
@isaiahtaylor isaiahtaylor added the bug Something isn't working label Mar 15, 2019
@kylecarbs
Copy link
Member

Will fix ASAP!

@davefinster
Copy link

This seems similar to #210 - at least from my experience in attempting Go debugging.

@Rakiah
Copy link

Rakiah commented Mar 18, 2019

I have the same problem while trying to debug an application in .NET Core 2.1 inside a container

@Rakiah
Copy link

Rakiah commented Mar 19, 2019

Any update on how this can be fixed ?
This prevents our adoption of code-server in our company

@kylecarbs
Copy link
Member

Will be fixed within a few hours.

@kylecarbs
Copy link
Member

Fixed with the latest release 1.32.0-310!

@Rakiah
Copy link

Rakiah commented Mar 19, 2019

That's great, will try asap
Just to know: I can just run git pull && docker built -t codercom/code-server .
to use the docker version of code-server with the available fix ?

@kylecarbs
Copy link
Member

Yup that's correct. I'm updating the image on docker hub right now.

@isaiahtaylor
Copy link
Author

I appreciate the quick work on this. Sorry for my delay. The environment that I am working on has a kernel that is too old to support Ubuntu 18, so I had to fork this repo and back port to Ubuntu 16. I'll try to merge these changes soon and let you know if it fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants