Skip to content
/ gdlv Public
  • Notifications
  • Fork 48
  • Star 1.3k

GUI frontend for Delve

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
1.3k stars 48 forks Branches Tags Activity
Star
Notifications

aarzilli/gdlv

Branches Tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

511 Commits

.github

.github

_scripts

_scripts

doc

doc

examples

examples

extras/rerungo

extras/rerungo

internal

internal

vendor

vendor

.travis.yml

.travis.yml

COPYING

COPYING

LICENSE

LICENSE

README.md

README.md

autocheck.go

autocheck.go

boring-style.go

boring-style.go

breakpoints.go

breakpoints.go

codicon.ttf

codicon.ttf

commands.go

commands.go

compat.go

compat.go

compl.go

compl.go

conf.go

conf.go

detailviewers.go

detailviewers.go

droid-sans.bold.ttf

droid-sans.bold.ttf

fontawesome-webfont.ttf

fontawesome-webfont.ttf

go.mod

go.mod

go.sum

go.sum

info.go

info.go

infovars.go

infovars.go

log.go

log.go

main.go

main.go

misc_test.go

misc_test.go

panelhelp.go

panelhelp.go

scopeexpr.go

scopeexpr.go

scopexpr_test.go

scopexpr_test.go

scrollback.go

scrollback.go

server.go

server.go

split.go

split.go

starlark.go

starlark.go

stepinto.go

stepinto.go

Repository files navigation

Gdlv is a graphical frontend to Delve for Linux, Windows and macOS.

Demo video here.

Screenshot

Gdlv on macOS

Setup

First install the current version of Delve, following Delve's install instructions.

Once Delve is installed, clone the repository and use go install to install gdlv:

$ git clone https://github.com/aarzilli/gdlv
$ cd gdlv
$ go install

If you are on Go 1.16 or later you can also use the new global install command, without cloning the repository first:

$ go install github.com/aarzilli/gdlv@latest

Use Ctrl+plus and Ctrl+minus, or config zoom 1.5 to change font size. See help for a list of available commands.

Other backends

On Linux and Windows gdlv uses shiny to draw its window and receive mouse and keyboard input from the Operating System. On macOS gio is used instead. This behavior can be changed using build tags:

go install -tags=nucular_gio github.com/aarzilli/gdlv@latest

will force gdlv to use nucular_gio everywhere, conversely -tags=nucular_shiny will select the shiny backend on macOS. Additionally, on macOS, -tags=nucular_shiny,metal can be used to make shiny draw using the metal API.

News

2024-03-04 / Version 1.12

  • Function names in the stacktrace window is shortened by default
  • Add next-instruction command
  • Make the text in the variables window selectable
  • Miscellaneous bug fixes

2023-09-24 / Version 1.11

  • Better display of suspended breakpoints
  • Add libraries command
  • When printing a channel also print a list of goroutines waiting on it

2023-06-13 / Version 1.10

  • Better display of long string variables in the variables window
  • Added formatting directives to print command and variables window (see help print)
  • Support multi-target debugging where Delve supports it
  • Miscellaneous bug fixes

2023-01-05 / Version 1.9

  • Show an indicator when the current frame changes between continues
  • Miscellaneous bug fixes

2022-05-13 / Version 1.8

  • Extended type shortening rules to support simple generic types
  • Miscellaneous bug fixes

2021-09-23 / Version 1.7

  • Add watchpoint support
  • Add Go doc menu item, in the variables panel contextual menu, to quickly call go doc for a variable's type
  • Add hit count conditions for breakpoints
  • Add call command
  • Add goroutines filtering rules

2021-04-09 / Version 1.6

  • Print goroutine wait wait reason and wait time when available
  • Add dump command, creates core dump of the attached process

2021-01-10 / Version 1.5

  • Better disassembly view
  • File descriptor redirects
  • Miscellaneous bug fixes

2020-04-25 / Version 1.4

  • Support reverse step/next/stepout
  • Support logical breakpoints
  • Fixes copying from scrollback editor
  • Fixes listing recentering on current line after a target resume

2020-03-27 / Version 1.3

  • Show goroutine labels
  • Support interrupting a recording

2020-01-28 / Version 1.2

  • Highlight changed variables in a different color
  • Add source code links in scrollback

2019-11-22 / Version 1.1

  • Added option to filter the goroutines window to only the goroutines matching a specified pattern.
  • Added -r option to the restart command which will rerecord the target (if it was recorded), also added the flaky script which runs the program repeatedly (rerecording it) until it hits any breakpoint.
  • Added -tags command line option to specify build tags for the target program.

2019-10-22 / Version 1.0 tagged

2019-06-07

  • Added Starlark as a scripting language

2019-05-11

  • Start from main.main instead of runtime.main.
  • Better interface when concurrent breakpoints happen during next, step or stepout.

2018-12-14

  • Deferred calls view.
  • Limit number of goroutines that are loaded (improves performance when debugging programs with tens of thousands of goroutines while the goroutines window is opened).
  • Make pastel theme the default theme.
  • Fixed bug handling disabled breakpoints.

2018-11-23

  • Fix build on go1.9
  • New, extended, syntax for pinning expressions dp @f/somefunc/ a will evaluate a in the first frame calling somefunc.

2018-10-29

  • Pastel theme

2018-09-26

  • Breakpoint persistence
  • pretty printing of time.Time variables
  • Notification for truncated stack traces
  • Ability to have an expression's value printed to the command window every time a continue command completes.

2018-08-26

  • Fixed some race conditions
  • Redesigned detail views, they are now updated while stepping through the code

2018-08-16

  • Highlight variable names
  • Expose starting location of goroutines
  • Miscellaneous bug fixes

2018-07-02

  • Support font changes
  • Sort variables by declaration line
  • Miscellaneous bug fixes

2018-06-13

  • Print return values when stepping out of a function
  • Allow setting breakpoints after the program has exited

2018-05-21

  • Implemented path substitution rules

2018-02-12

  • Implemented "Continue to line"
  • Let restart change program arguments
  • Made load parameters configurable

2017-12-20

  • Support for upcoming go 1.10.
  • Changed how split windows are implemented (floating windows with docking).

2017-09-17

  • "Find Element" command: search through a slice or an array for the element matching a given expression.
  • New red theme.
  • Only recompile if one of the source files changed.
  • step -last command option to step into the last call on the line.
  • Search command history with Ctrl+R

2017-06-29

  • Pinning of expressions to specific execution frames.
  • Keybindings for continue, next, step and stepout
  • Compact visualization for interface values

2017-06-04

  • Custom formatters for user defined types.
  • Better executable building for go1.9

2017-05-18

  • Better formatting for maps and integer variables.

2017-05-07

  • Added core command
  • Support for multiple backends
  • Added "replay" startup command, "checkpoint" command and "Checkpoints" view.

2017-03-01

  • Horizontal scrollbars for all panels

2017-02-09

  • Goroutines panel will show a breakpoint icon for goroutines stopped at a breakpoint.

2017-02-06

  • Implemented selective step into. Right click on a function call on the current line to step into that function call (note: not that function, that function call). Also accessible through the step command with step -list:

Step Into

About

GUI frontend for Delve

Topics

go debugger golang gui delve

Resources

Readme

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
Activity

Stars

1.3k stars

Watchers

25 watching

Forks

48 forks
Report repository

Releases

16 tags

Sponsor this project

 
Learn more about GitHub Sponsors

Packages

No packages published

Contributors 9

Languages

  • Go 100.0%

Footer

© 2024 GitHub, Inc.

哆哆女性网异形vs人类网站整合营销推广韩国新电影天堂市场营销 推广 公司个性签名霸道EDm营销推广周易爻辞总览管理系统网站建设周易取名子仁字辈的男宝宝起名字徐姓起名女人名字龙虾馆起名学网站制作的学校矿业公司起名大全红星照耀中国读后感900字给女孩起名姓史seo网站外链工具化妆游戏狂风怒号的意思乘马班如算命准吗解梦周公大全seo最新视频教程www.3rat.com李姓 女儿 起名宁陵一锤四周易八字排盘怎么排小孩起名网免费取名成都网站网页建设哪里有网站优化公司江宏恩演过电视剧淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻不负春光新的一天从800个哈欠开始有个姐真把千机伞做出来了国产伟哥去年销售近13亿充个话费竟沦为间接洗钱工具重庆警方辟谣“男子杀人焚尸”男子给前妻转账 现任妻子起诉要回春分繁花正当时呼北高速交通事故已致14人死亡杨洋拄拐现身医院月嫂回应掌掴婴儿是在赶虫子男孩疑遭霸凌 家长讨说法被踢出群因自嘲式简历走红的教授更新简介网友建议重庆地铁不准乘客携带菜筐清明节放假3天调休1天郑州一火锅店爆改成麻辣烫店19岁小伙救下5人后溺亡 多方发声两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#青海通报栏杆断裂小学生跌落住进ICU代拍被何赛飞拿着魔杖追着打315晚会后胖东来又人满为患了当地回应沈阳致3死车祸车主疑毒驾武汉大学樱花即将进入盛花期张立群任西安交通大学校长为江西彩礼“减负”的“试婚人”网友洛杉矶偶遇贾玲倪萍分享减重40斤方法男孩8年未见母亲被告知被遗忘小米汽车超级工厂正式揭幕周杰伦一审败诉网易特朗普谈“凯特王妃P图照”考生莫言也上北大硕士复试名单了妈妈回应孩子在校撞护栏坠楼恒大被罚41.75亿到底怎么缴男子持台球杆殴打2名女店员被抓校方回应护栏损坏小学生课间坠楼外国人感慨凌晨的中国很安全火箭最近9战8胜1负王树国3次鞠躬告别西交大师生房客欠租失踪 房东直发愁萧美琴窜访捷克 外交部回应山西省委原副书记商黎光被逮捕阿根廷将发行1万与2万面值的纸币英国王室又一合照被质疑P图男子被猫抓伤后确诊“猫抓病”

哆哆女性网 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化