Comments (34)
I'm really interested in working on this after I'm done with the Makefile build system. I'll assign it to myself but feel free to take it if you think I'm not going fast enough ;)
from go-lang-idea-plugin.
I know that the go sdk can build programs with debugging support (aka. debuggable by gdb :)). This should let us debug go programs :). I would love for you to work on this. Once i'm happy with the completion things i will also try to help you. :)
from go-lang-idea-plugin.
Are you guys still planning to work on this?
from go-lang-idea-plugin.
Hi Tom,
Is still on the roadmap but there is no time for it yet. I'm in the process of moving and don't have so much time to work on this.
from go-lang-idea-plugin.
is this something relatively easy to implement?
I don't really see any other GoLang IDE that has an integrated debugger either
from go-lang-idea-plugin.
This is certainly not something easy. Debugging Go programs mean debugging native code, and this very different from debugging VM languages (e.g. Java) which usually have builtin debug support. Easiest path I think is to integrate support for GDB (this is how most Linux or even crossplatform IDEs for C/C++ work), however, this is certainly not simple and it may have problems with cross-platform portability. I think this approach is possible to observe in C/C++ IDEA plugin, though it will certainly require significant changes to work for Go.
So you have to use GDB directly or one of its wrappers if you really need to debug Go code in nearest future.
from go-lang-idea-plugin.
Yep. This is correct Vladimir.
The correct way is to implement the debugger interfaces in inteliij and to hook them to a running gdb process. It's not trivial but it's not that complicated either. It just needs time (which i'm in short supply atm unfortunately).
from go-lang-idea-plugin.
Hey guys, I was wondering if gdb support ever got integrated into the master branch of this project or if there was a status. I can say as a golang dev this is a feature in high demand.
from go-lang-idea-plugin.
Unfortunately it was not.
from go-lang-idea-plugin.
Debugger integrated in the intellij IDEA is highly demanded! Do you have any plan on this?
from go-lang-idea-plugin.
The plan is to get people to help :).
from go-lang-idea-plugin.
@mtoader Maybe be it help. Some guy already impl gdb in intellij. See https://bitbucket.org/spencercw/ideagdb/overview
from go-lang-idea-plugin.
There is also up to date code from Maxim here: https://github.com/nicity/CppTools/tree/master/src/com/advancedtools/cpp/debugger
from go-lang-idea-plugin.
Yeah. I known it. Bad that me refused idea.
Maybe later i ill give more time for go + gdb. Problem - i dont wana create duplicate code only for google go.
Ah, about gae, maybe u found some interest https://github.com/consulo/consulo-google-app-engine-api
Regards
from go-lang-idea-plugin.
I'll try and tackle the issue with debugging up soon. I've just finished porting the plugin to non-IDEA IDEs, see #303, and I need to run some tests for it.
from go-lang-idea-plugin.
As for Google Apps Engine suport, the plugin already has it, albeit I'm not able to test it.
from go-lang-idea-plugin.
+1 for go lang debugger support on IntelliJ Idea
from go-lang-idea-plugin.
@shankarvalleru I like the enthusiasm so... get the build from master, from my dropbox (see link in readme) or wait for 0.9.16 :) But remember, it's going to be only as good as gdb is for go.
from go-lang-idea-plugin.
@dlsniper thanks alot
from go-lang-idea-plugin.
looking forward to this!
from go-lang-idea-plugin.
@mlmasterson you can check the build from my dropbox. Unfortunately, it works as good as gdb + go will work so sorry :)
from go-lang-idea-plugin.
+1 debugger
from go-lang-idea-plugin.
@prsolucoes what's the point of +1-ing a closed issue? Do you suggest you'd like to work on it? If so, please have a look at the PR for delve which is a work in progress #1640
from go-lang-idea-plugin.
The latest nightly build contains dlv integration.
from go-lang-idea-plugin.
@ignatov, that's great, where to get the nightly build ?
from go-lang-idea-plugin.
@svalleru please read the instructions in the README: https://github.com/go-lang-plugin-org/go-lang-idea-plugin#pre-release-builds Also keep in mind that there are some issues that might appear that are not catched yet or are part of delve itself. If you do encounter such issues, please open an issue for them (if they are not reported already). Thank you.
from go-lang-idea-plugin.
Sure thing.
from go-lang-idea-plugin.
Any instructions about starting debug with dlv? I'm downloaded latest nightly build and Debug button is disabled
from go-lang-idea-plugin.
I'll add the instructions soon. Delve only supports Linux and Mac OS X
from go-lang-idea-plugin.
@aaa4xu and everyone else who's wondering how the integration works: Please make sure you are running on a supported IDE (see the README in the root of the project), open your project, set the breakpoints you want and then press the Debug option instead of the run option. You need to create a run configuration of type Go Application as a Run configuration of type Go file is not supported yet (the debug button is disabled for that configuration).
Hope it helps.
from go-lang-idea-plugin.
+10000 for supporting debug
from go-lang-idea-plugin.
@pylover it's been implemented month ago
from go-lang-idea-plugin.
@pylover I'm sorry but clearly you haven't read the README nor the comment above. Delve support is currently implemented and working (on the platforms delve is working).
from go-lang-idea-plugin.
Thanks a lot, i'll read it
from go-lang-idea-plugin.
Related Issues (20)
- EditorCopy: com.intellij.psi.PsiInvalidElementAccessException HOT 2
- Plugin Not Working on PHPSTORM 2017.2 HOT 1
- Improved Delve support for Go 1.9 HOT 2
- fallthrough statement out of place HOT 1
- Create new go file error HOT 1
- File Watcher - Default go fmt HOT 1
- packages in project GOPATH not getting resolved HOT 1
- Running Extract Method Refactoring from an other plugin HOT 1
- Renaming an interface method does not rename implementations HOT 1
- Cannot change GOROOT HOT 3
- Plugin 'Go' is incompatible with this installation HOT 1
- Announcement: This repository is now officially unmaintained HOT 1
- Error to create a custom response HOT 1
- there is no go sdk option where new sdk to project. HOT 1
- Fail to compile and run gotest HOT 1
- No plugins found HOT 2
- Unresolved type for all standard Go types and functions HOT 8
- Fail to load plugin descriptor from file go-lang-idea-plugin-master.zip HOT 1
- eiddccidrujckhtkkbndflghniudgihcbgfjcihbrvcv
- Can't configure go SDK 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-lang-idea-plugin.