Delve is a debugger for the Go programming language. The goal of the project is
to provide a simple, full featured debugging tool for Go. Delve should be easy
to invoke and easy to use. Chances are if you're using a debugger, things
aren't going your way. With that in mind, Delve should stay out of your way as
much as possible.
Please execute the following commands to prep this system to run delve:
echo "# required for delve" >>/etc/sysctl.conf.local
echo "security.bsd.unprivileged_proc_debug=1" >>/etc/sysctl.conf.local
Then, either reboot or run the following commands to implement the above
changes:
service sysctl reload
devel/delve: Update 1.25.2 => 1.26.0
Changelog:
https://github.com/go-delve/delve/blob/v1.26.0/CHANGELOG.md
Go 1.25 emits DWARFv5 debug information by default. To debug executables
using DWARFv5 Delve must be built with Go version 1.25.0 or later.
Therefore, the port sets the minimum required Go version to 1.25+.
PR: 292823
Approved by: Dmitry Wagin <dmitry.wagin@ya.ru> (maintainer)
go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
devel/delve: Update version 1.21.1=>1.21.2
Added
- DAP: add concrete type to interface type (@suzmue, #3510)
- Support for VSCode in the edit command (@derekparker, #3524)
- Follow-mode support for Windows (@aarzilli, #3507)
Fixed
- Fix bugs handling stdout/stderr in DAP (@hyangah, #3522)
- Fix bug with autogenerated wrappers for methods of generic types
(@aarzilli, #3528)
Changed
- Use Cgo instead of C code in the FreeBSD backend (@4a6f656c, #3529)
- Remove obsolete build tags (+build) (@alexandear, #3513)
Changelog:
https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1212-2023-10-30
PR: 275177
Approved by: submitter is maintainer
devel/delve: Update to 1.21.1
ChangeLog:
https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1211-2023-10-3
Added
* Support for linux/ppc64le
* Enable debugging stripped mach-o
* Enable function call injection for linux/ppc64le
* Improved support for editors in 'edit' command
* Early 1.22 support
* Add 'packages' command to list packages in compiled binary
* Support debugging PIE binaries on linux/ppc64le
* Add ability to list goroutines waiting on channel
(Only the first 15 lines of the commit message are shown above )
devel/delve: Update to 1.20.2
ChangeLog:
https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1202-2023-04-05
Added
* New flag --rr-onprocess-pid to replay command
* Added documentation for watching arbitrary address
* Allow extracting a DWARF entry field
* Add SetLoggerFactory to terminal/logflags package
* New config option for tab printing when printing source code
* Added documentation for debugging Go runtime with Delve
Fixed
* Fix printing boolean values in Starlark scripts
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
New port: devel/delve
Delve is a debugger for the Go programming language. The goal of the project is
to provide a simple, full featured debugging tool for Go. Delve should be easy
to invoke and easy to use. Chances are if you're using a debugger, things
aren't going your way. With that in mind, Delve should stay out of your way as
much as possible.
WWW: https://github.com/go-delve/delve
PR: 243962
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>