delve/service/debugger
Hyang-Ah Hana Kim 809bdca191 service/debugger: improve NomalLocationSpec.Find's heuristics (#923)
When location spec is given and the base can be interpreted either in
source file name or function name, NomalLocationSpec searches both
the source file list and the function symbol list, and selects matching
candidates. Previously, all the matching candidates were added to one
single list regardless whether the candidate was from the source file
list or not. Then, later, Find tries to guess whether the candiate
was a function or a file based on a heuristic, i.e, whether the
candidate is an absolute file path. The heuristic is fragile - since
there is no guarantee that the included source file name is an absolute
path.

Instead, this CL preserves where the candidate was found; file list or
function symbol list. Then, use that info to determine whether the
candidate is a source file name or not.
2017-07-20 13:02:59 -06:00
..
debugger_darwin.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger_linux.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
debugger_windows.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger.go api: add FrameOffset to Stackframe (#864) 2017-06-20 10:39:33 -07:00
locations_test.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
locations.go service/debugger: improve NomalLocationSpec.Find's heuristics (#923) 2017-07-20 13:02:59 -06:00