Skip to content
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

add GoDebug #1390

Merged
merged 70 commits into from
Feb 27, 2018
Merged
Show file tree
Hide file tree
Changes from 68 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
d3cbf23
add GoDebug
mattn Jul 27, 2017
2ee2826
set rpcid
mattn Jul 27, 2017
95b636a
abort immediately
mattn Jul 27, 2017
19cbb06
implement stacktrace, balloon text
mattn Jul 28, 2017
308c51c
highlight
mattn Jul 28, 2017
5fb78eb
output window
mattn Jul 28, 2017
a67038a
start without breakpoint
mattn Jul 28, 2017
bceb70e
add callback to handle delayed event
mattn Jul 28, 2017
62e3027
cancel next
mattn Jul 28, 2017
0945aa0
logger
mattn Jul 28, 2017
50328bc
better to be partical callback
mattn Jul 28, 2017
87b5265
variable tree
mattn Jul 28, 2017
92ba6be
delay start
mattn Jul 29, 2017
b803918
buffer should be readonly
mattn Jul 29, 2017
5cf27c3
goto file
mattn Jul 29, 2017
41e6bb7
syntax support
mattn Jul 30, 2017
8ac522b
function arguments
mattn Jul 30, 2017
2937f78
fix bug in variable viewer
mattn Jul 30, 2017
3795edb
arguments
mattn Aug 1, 2017
f7153e2
remove expanded variables
mattn Aug 1, 2017
77b7cbd
update doc
mattn Aug 1, 2017
256e430
check binary
mattn Aug 3, 2017
5af49fe
display errors
mattn Aug 13, 2017
c964445
Add modeline
arp242 Sep 7, 2017
a7b6115
More graceful handling when `dlv` isn't found
arp242 Sep 7, 2017
1b8a643
Put the `highlight` commands inside a `ColorScheme` autocmd
arp242 Sep 7, 2017
ff82c64
Define foreground colours too
arp242 Sep 7, 2017
69a9793
Show paths relative to current working directory when it makes sense
arp242 Sep 7, 2017
51fb039
Add g:go_debug_windows setting
arp242 Sep 7, 2017
bc43666
Add g:go_debug_address setting
arp242 Sep 7, 2017
940d2c1
fix eval string
mattn Sep 8, 2017
3f61152
fix eval_var
mattn Sep 8, 2017
7c095e9
open/close tree
mattn Sep 8, 2017
d9cfbff
string is array of byte
mattn Sep 11, 2017
b9785c4
change directory
mattn Sep 11, 2017
43ba3e6
clear state before restart
mattn Sep 11, 2017
fb44adf
reset state
mattn Sep 11, 2017
6db0ef5
unplace sign
mattn Sep 11, 2017
4fb613a
add GoDebugStartWith to add options
mattn Sep 11, 2017
b3f3697
fix GoDebugStart argments
mattn Sep 11, 2017
17f74c1
Display error for Vim 7.4
arp242 Sep 11, 2017
da6ecb1
Run dlv from a temporary directory
arp242 Sep 11, 2017
db564ff
Show error for Neovim
arp242 Sep 11, 2017
30f1682
Make temp dir in cross-platform way
arp242 Sep 12, 2017
7145df9
Add documentation
arp242 Nov 23, 2017
63889fa
Rename :GoDebugToggleBreakpoint to :GoDebugBreakpoint
arp242 Nov 23, 2017
2ad23f1
Make :GoDebugStart accept a package name
arp242 Nov 23, 2017
a0e8017
Add ability to debug tests
arp242 Nov 23, 2017
338a606
Clean tmpdir on job stop and exit
arp242 Nov 23, 2017
83b9dd0
Remove :GoDebugStart command in debug mode
arp242 Nov 23, 2017
5599248
Check for a:status > 0
arp242 Nov 23, 2017
ff95ecc
Use go#util#Echo* helpers
arp242 Nov 23, 2017
ab31f35
Use g:go_debug for debug/development flags
arp242 Nov 23, 2017
01f8f9c
Show more information in the variable window
arp242 Nov 23, 2017
fab6a91
Bugfix: log output would make windows switch
arp242 Nov 23, 2017
e64e879
Run "continue" when using :GoDebug{Next,Step} etc. if the program isn…
arp242 Nov 23, 2017
5eaad29
Don't error out if localVars or functionArgs aren't defined
arp242 Nov 23, 2017
ceec858
Fix some more instances where it would jump windows
arp242 Nov 23, 2017
d370336
Rename :GoDebugEval to :GoDebugPrint
arp242 Nov 23, 2017
a7c734b
Remove :GoDebugCommand
arp242 Nov 23, 2017
3c9d709
Fix stepOut, expand g:go_debug, and remove stepIn
arp242 Nov 23, 2017
9845226
Make :GoDebugBreakpoint accept a line number
arp242 Nov 23, 2017
c89bb7e
Make it possible to define breakpoints before calling :GoDebugStart
arp242 Nov 23, 2017
2bc92ef
Use --output instead of tmp dir
arp242 Nov 24, 2017
db94226
Make :GoDebugRestart work
arp242 Nov 24, 2017
1020b57
Show string vars better in window
arp242 Nov 24, 2017
e709712
silent! the BalloonExpr
arp242 Nov 24, 2017
3a51a15
Some small fixes to the documentation.
arp242 Nov 28, 2017
3176f6d
Small documentation tweaks
arp242 Feb 26, 2018
9290447
Fix GoDebugBreakpoint colours on cterm
arp242 Feb 26, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This plugin adds Go language support for Vim, with the following main features:
with `:GoTest`. Run a single tests with `:GoTestFunc`).
* Quickly execute your current file(s) with `:GoRun`.
* Improved syntax highlighting and folding.
* Debug programs with integrated `delve` support with `:GoDebugStart`.
* Completion support via `gocode`.
* `gofmt` or `goimports` on save keeps the cursor position and undo history.
* Go to symbol/declaration with `:GoDef`.
Expand All @@ -28,7 +29,6 @@ This plugin adds Go language support for Vim, with the following main features:
errors, or make sure errors are checked with `:GoErrCheck`.
* Advanced source analysis tools utilizing `guru`, such as `:GoImplements`,
`:GoCallees`, and `:GoReferrers`.
* Precise type-safe renaming of identifiers with `:GoRename`.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this removed accidentally?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember correctly, at some point it was decided to keep the top 10 or 15 points from the help file here instead of all. So I removed the bottom one after I added the debug feature.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the automatic gopath detection line and keep this? I think the GOPATH one can change as it's less relevant nowadays.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, sounds good

* ... and many more! Please see [doc/vim-go.txt](doc/vim-go.txt) for more
information.

Expand Down
Loading