-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
add GoDebug #1390
Changes from 68 commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
d3cbf23
add GoDebug
mattn 2ee2826
set rpcid
mattn 95b636a
abort immediately
mattn 19cbb06
implement stacktrace, balloon text
mattn 308c51c
highlight
mattn 5fb78eb
output window
mattn a67038a
start without breakpoint
mattn bceb70e
add callback to handle delayed event
mattn 62e3027
cancel next
mattn 0945aa0
logger
mattn 50328bc
better to be partical callback
mattn 87b5265
variable tree
mattn 92ba6be
delay start
mattn b803918
buffer should be readonly
mattn 5cf27c3
goto file
mattn 41e6bb7
syntax support
mattn 8ac522b
function arguments
mattn 2937f78
fix bug in variable viewer
mattn 3795edb
arguments
mattn f7153e2
remove expanded variables
mattn 77b7cbd
update doc
mattn 256e430
check binary
mattn 5af49fe
display errors
mattn c964445
Add modeline
arp242 a7b6115
More graceful handling when `dlv` isn't found
arp242 1b8a643
Put the `highlight` commands inside a `ColorScheme` autocmd
arp242 ff82c64
Define foreground colours too
arp242 69a9793
Show paths relative to current working directory when it makes sense
arp242 51fb039
Add g:go_debug_windows setting
arp242 bc43666
Add g:go_debug_address setting
arp242 940d2c1
fix eval string
mattn 3f61152
fix eval_var
mattn 7c095e9
open/close tree
mattn d9cfbff
string is array of byte
mattn b9785c4
change directory
mattn 43ba3e6
clear state before restart
mattn fb44adf
reset state
mattn 6db0ef5
unplace sign
mattn 4fb613a
add GoDebugStartWith to add options
mattn b3f3697
fix GoDebugStart argments
mattn 17f74c1
Display error for Vim 7.4
arp242 da6ecb1
Run dlv from a temporary directory
arp242 db564ff
Show error for Neovim
arp242 30f1682
Make temp dir in cross-platform way
arp242 7145df9
Add documentation
arp242 63889fa
Rename :GoDebugToggleBreakpoint to :GoDebugBreakpoint
arp242 2ad23f1
Make :GoDebugStart accept a package name
arp242 a0e8017
Add ability to debug tests
arp242 338a606
Clean tmpdir on job stop and exit
arp242 83b9dd0
Remove :GoDebugStart command in debug mode
arp242 5599248
Check for a:status > 0
arp242 ff95ecc
Use go#util#Echo* helpers
arp242 ab31f35
Use g:go_debug for debug/development flags
arp242 01f8f9c
Show more information in the variable window
arp242 fab6a91
Bugfix: log output would make windows switch
arp242 e64e879
Run "continue" when using :GoDebug{Next,Step} etc. if the program isn…
arp242 5eaad29
Don't error out if localVars or functionArgs aren't defined
arp242 ceec858
Fix some more instances where it would jump windows
arp242 d370336
Rename :GoDebugEval to :GoDebugPrint
arp242 a7c734b
Remove :GoDebugCommand
arp242 3c9d709
Fix stepOut, expand g:go_debug, and remove stepIn
arp242 9845226
Make :GoDebugBreakpoint accept a line number
arp242 c89bb7e
Make it possible to define breakpoints before calling :GoDebugStart
arp242 2bc92ef
Use --output instead of tmp dir
arp242 db94226
Make :GoDebugRestart work
arp242 1020b57
Show string vars better in window
arp242 e709712
silent! the BalloonExpr
arp242 3a51a15
Some small fixes to the documentation.
arp242 3176f6d
Small documentation tweaks
arp242 9290447
Fix GoDebugBreakpoint colours on cterm
arp242 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this removed accidentally?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, sounds good