Coder Social home page Coder Social logo

Comments (14)

lloiser avatar lloiser commented on August 26, 2024 1

do not click the row number itself but there should be a little whitespace next to:
screen shot 2016-02-24 at 10 18 08

from go-debug.

lloiser avatar lloiser commented on August 26, 2024

Open atom in dev mode atom --dev and open the dev tools Cmd+Opt+I and the press test or debug. You should now see way more info on what's happening in the background. What's happening?
I should show these logs somewhere more obvious and reachable...

from go-debug.

RossRothenstine avatar RossRothenstine commented on August 26, 2024

I had the issue of the binary not being found. Solved it by putting the abs path in the plugin config.

So far, the debugger works exactly as described.

from go-debug.

lloiser avatar lloiser commented on August 26, 2024

awesome 👍

from go-debug.

jeromelaurens avatar jeromelaurens commented on August 26, 2024

Reopen please, still not working.
I already had set the absolute path.

I have a different behavior when using atom --dev
Seems to be working (dlv laucnhed) but still unable to set breakpoint.

With classic atom, no change : clicking on Test or Debug has no effect

But now found something : if Atom launched from command line (with or without --dev) seems to launch dlv but still unable to set breakpoint or inspect variable.
Clicking (or dbl click, or right click) on the row number has no efffect.

from go-debug.

lloiser avatar lloiser commented on August 26, 2024

an empty circle is visible if either delve has not started yet, or if started the line cannot be used as a breakpoint. (again it will show some info about this in the dev tools)

from go-debug.

jeromelaurens avatar jeromelaurens commented on August 26, 2024

Thanks for feedback : much better now !

Still 2 points :

  1. How to stop the current debugging ?
  2. how to make it work without having to launch from command line ?

from go-debug.

lloiser avatar lloiser commented on August 26, 2024
  1. not implemented yet (thx for feedback!)
  2. I don't understand your problem... how do you use atom otherwise? do you use a dock icon to start atom and it then doesn't work? maybe you are missing the GOPATH environment variable from wherever you start atom

from go-debug.

jeromelaurens avatar jeromelaurens commented on August 26, 2024
  1. yes seems important especially when debugging a server, you need a way to stop it
  2. yes the problem may be the missing GOPATH when launching from icon start, or spotlight search
    But is the gopath not provided by goplus package ?
    In my goplus package settings, the gopath is absolute and go install is also set.
    So they are not used in go-debug ?

from go-debug.

lloiser avatar lloiser commented on August 26, 2024

no, I do not depend on go-plus.
maybe I can reuse these variables...
maybe I have to add those variables to this package too (just in case you don't use go-plus)...

from go-debug.

jeromelaurens avatar jeromelaurens commented on August 26, 2024

may be you can depend on go plus.
I 'm willing to bet that all dev that have go-debug installed also have go-plus installed

from go-debug.

dwlnetnl avatar dwlnetnl commented on August 26, 2024

It still doesn't work for me. I've just updated Atom and all packages.

from go-debug.

lloiser avatar lloiser commented on August 26, 2024

Have you tried the dev mode as mentioned above?
Is dlv in your path/env available?
Have you set the gopath?

from go-debug.

dwlnetnl avatar dwlnetnl commented on August 26, 2024

I had a ~ in my GOPATH, that was the culprit. But I still works only in dev-mode.

from go-debug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.