delve/pkg/proc
Alessandro Arzilli 9e1b6541c1
tests: fix flakiness of of TestIssue414 on windows (#2082)
Recent change #2061:

292f5c69f0c769fd32c2e8b1e7153b56e908efd7
proc: step into unexported runtime funcs when already inside runtime

means that TestIssue414 (which tries to step repeatedly until the
program exits) can now steps through way more runtime code than it ever
did before. This causes this test to occasionally fail. Stepping
blindly through runtime code has never been particularly safe as the
runtime can switch to a different goroutine causing Delve to misbehave.

This change restores the previous behavior of TestIssue414 where Step
behaved like Next inside runtime code.
2020-07-21 13:41:13 -07:00
..
core proc/*: move Set/Clear Breakpoint methods to Target (#2064) 2020-06-03 11:14:14 -07:00
fbsdutil proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
gdbserial gdbserial: ensure registers are loaded in SetDX/SetSP/SetPC (#2054) 2020-07-21 13:40:16 -07:00
linutil proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
native proc/*: move Set/Clear Breakpoint methods to Target (#2064) 2020-06-03 11:14:14 -07:00
test tests: properly check if cgo is enabled for cgo related tests (#2010) 2020-04-16 10:42:22 -07:00
winutil proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
amd64_arch.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
amd64_disasm.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
arch.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
arm64_arch.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
arm64_disasm.go proc: skip autogenerated wrappers when stepping in and out 2020-03-31 10:04:36 -07:00
bininfo.go proc: keep track of nesting depth while reading compile units 2020-07-16 15:34:00 +02:00
breakpoints.go proc/*: move Set/Clear Breakpoint methods to Target (#2064) 2020-06-03 11:14:14 -07:00
disasm.go proc: skip autogenerated wrappers when stepping in and out 2020-03-31 10:04:36 -07:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_export_test.go proc: keep track of nesting depth while reading compile units 2020-07-16 15:34:00 +02:00
dwarf_expr_test.go proc: keep track of nesting depth while reading compile units 2020-07-16 15:34:00 +02:00
eval.go pkg/proc: Fix crash when LocationExpr is nil 2020-07-16 15:37:31 +02:00
fncall.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
goroutine_cache.go pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
i386_arch.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
i386_disasm.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
interface.go proc/*: move Set/Clear Breakpoint methods to Target (#2064) 2020-06-03 11:14:14 -07:00
mem.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
moduledata.go proc: support DW_AT_go_package_name (#1757) 2019-11-25 09:10:18 -08:00
pe.go pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
proc_general_test.go proc: better support for C pointers (#1997) 2020-06-05 11:22:40 -07:00
proc_linux_test.go *: Add --tty flag for debug / exec 2020-04-10 09:53:13 -07:00
proc_test.go tests: fix flakiness of of TestIssue414 on windows (#2082) 2020-07-21 13:41:13 -07:00
proc_unexported_test.go proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
proc_unix_test.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
registers.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
scope_test.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
stack.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
target_exec.go proc: refresh cur thread/sel g after ContineOnce errors (#2081) 2020-06-11 11:46:00 -07:00
target.go proc/*: move Set/Clear Breakpoint methods to Target (#2064) 2020-06-03 11:14:14 -07:00
threads.go proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
types.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
variable_test.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
variables.go proc: better support for C pointers (#1997) 2020-06-05 11:22:40 -07:00
x86_disasm.go proc: skip autogenerated wrappers when stepping in and out 2020-03-31 10:04:36 -07:00