закешированный к нам в целях безопасности дебаггер
Go to file
Archana Ravindar 89123a0000
pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594)
* rebasing on master to implement --followcalls

* in progress changes to enable --followcalls

* rebase to master: modified function to add children to funcs array

* modify main traversal loop

* added tests to check different scenarios

* added tests to check different scenarios

* added tests to check different scenarios

* add test to check for overlapping regular expression

* modified type of strings array as a return only

* changed depth to a simple integer instead of a global map

* avoid calling traverse on recursive calls

* Added tests for various call graphs to test trace followfuncs

* Added tests for various call graphs to test trace followfuncs

* Added tests for various call graphs to test trace followfuncs

* made auxillary changes for build to go through for new option follow-calls

* Add support to print depth of the function calls as well

* Added two sample output files for checking

* Bypass morestack_noctxt in output for verification testing

* Corrected newline error by adding newlines only if the line does not match morestack_noctxt

* Added more tests

* Cleanup

* Updated documentation

* fixed error message in fmt.Errorf

* Fixed result of Errorf not used error

* Addressing review comments to fix depth reporting and other issues

* dont invoke stacktrace if tracefollowcalls is enabled, compute depth from main regex root symbol than main.main

* Addressing a part of review comments

* Added changes to allow deferred functions to be picked up for tracing

* Fix issue to avoid printing stack for a simple trace option

* Moving most tests to integration2_test.go and keeping only one in dlv_test.go

* Moving most tests to integration2_test.go and keeping only one in dlv_test.go

* Adding panic-defer test case

* Moved rest of the tests to integration2_test.go

* addressing review comments: folding Functions and FunctionsDeep, reducing branches by using depth prefix, wrap using %w and other comments

* Optimize traversal and parts of printing trace point function and modify trace output layout
and adjust tests accordingly

* Resolved error occurring due to staticcheck

* Implemented traversal algorithm using breadth first search

* Addressing review comments on the breadth first search implementation and
other comments

* Inline filterRuntimeFuncs and remove duplicate initialization
2024-06-12 12:35:48 -07:00
_fixtures pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594) 2024-06-12 12:35:48 -07:00
_scripts *: update actions/checkout to v4 (#3731) 2024-05-22 16:17:41 -07:00
.teamcity teamcity,version: add 1.22 to supported versions and CI matrix (#3601) 2023-12-20 15:31:30 -08:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594) 2024-06-12 12:35:48 -07:00
Documentation pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594) 2024-06-12 12:35:48 -07:00
pkg pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594) 2024-06-12 12:35:48 -07:00
service pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594) 2024-06-12 12:35:48 -07:00
vendor proc,go.mod: update x/sys remove KeepAlive calls (#3680) 2024-03-04 11:36:46 -08:00
.cirrus.yml Cirrus-CI: update to FreeBSD 13.3 (#3679) 2024-03-04 09:15:21 -08:00
.gitattributes makefile: use git's $Id$ instead of setting ver.Build in makefile (#807) 2017-04-28 10:14:33 -07:00
.gitignore chore: don't ignore directory cmd/dlv (#3359) 2023-05-05 09:59:43 -07:00
CHANGELOG.md *: release version 1.22.1 (#3662) 2024-02-21 12:29:06 -08:00
CONTRIBUTING.md *: Add explicit code of conduct (#3540) 2023-10-27 15:07:39 +02:00
go.mod proc,go.mod: update x/sys remove KeepAlive calls (#3680) 2024-03-04 11:36:46 -08:00
go.sum proc,go.mod: update x/sys remove KeepAlive calls (#3680) 2024-03-04 11:36:46 -08:00
ISSUE_TEMPLATE.md Documentation: document substitute-path more (#2998) 2022-05-04 11:01:56 -07:00
LICENSE Add License and README 2014-05-03 15:31:52 -05:00
Makefile *: Fix ppc64le test runs (#3460) 2023-08-11 08:51:28 -07:00
README.md TeamCity,Documentation: use new TeamCity URL (#3275) 2023-02-15 11:11:42 +01:00

Delve

license GoDoc Build Status

The GitHub issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.

About 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.