Comments (14)
do not click the row number itself but there should be a little whitespace next to:
from go-debug.
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.
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.
awesome 👍
from go-debug.
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.
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.
Thanks for feedback : much better now !
Still 2 points :
- How to stop the current debugging ?
- how to make it work without having to launch from command line ?
from go-debug.
- not implemented yet (thx for feedback!)
- 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.
- yes seems important especially when debugging a server, you need a way to stop it
- 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.
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.
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.
It still doesn't work for me. I've just updated Atom and all packages.
from go-debug.
Have you tried the dev mode as mentioned above?
Is dlv in your path/env available?
Have you set the gopath?
from go-debug.
I had a ~
in my GOPATH, that was the culprit. But I still works only in dev-mode.
from go-debug.
Related Issues (20)
- buildFlags documentation HOT 4
- Will not auto break if using nil pointer HOT 6
- Remove debug.test file
- debug.json is not being read by go-debug HOT 1
- pleases upload an example HOT 1
- i meet the following error HOT 1
- Editor crash HOT 4
- Bee Framework HOT 3
- String variable length is limited to 64 characters
- atom-ide support HOT 4
- How to set --headless=false?
- go-debug failed to get "dlv" HOT 9
- how to add breakpoint when use remote? HOT 4
- The debugger doesn't show pointer values HOT 4
- with atom 1.34.0 lauch debugger from pull down menu does not work HOT 4
- why have guru and gogetdoc at the same time HOT 2
- "no debugger installed" when trying to start debugger
- Clarification setting up a config file HOT 3
- Issues trying to use Go-Debug HOT 2
- Uncaught TypeError: Cannot read property 'addBreakpoint' of null HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-debug.