delve/pkg/proc
Alessandro Arzilli 07e53f7cbb proc: fix interaction of RequestManualStop and conditional breakpoints (#876)
* proc: fix interaction of RequestManualStop and conditional breakpoints

A conditional breakpoint that is hit but has the condition evaluate to
false can block a RequestManualStop from working. If the conditional
breakpoint is set on an instruction that is executed very frequently by
multiple goroutines (or many conditional breakpoints are set) it could
prevent all calls to RequestManualStop from working.

This commit fixes the problem by changing proc.Continue to exit
unconditionally after a RequestManualStop is called.

* proc/gdbserial: fix ContinueOnce getting stuck on macOS

Fixes #902
2017-07-07 16:29:37 -07:00
..
core proc: fix interaction of RequestManualStop and conditional breakpoints (#876) 2017-07-07 16:29:37 -07:00
gdbserial proc: fix interaction of RequestManualStop and conditional breakpoints (#876) 2017-07-07 16:29:37 -07:00
native proc: fix interaction of RequestManualStop and conditional breakpoints (#876) 2017-07-07 16:29:37 -07:00
test proc/gdbserial: mozilla rr support (#804) 2017-05-05 15:17:52 -07:00
arch.go proc: read G struct offset from runtime.tlsg if possible (#883) 2017-06-21 15:40:42 -07:00
bininfo.go proc: read G struct offset from runtime.tlsg if possible (#883) 2017-06-21 15:40:42 -07:00
breakpoints.go proc: next, stepout should work on recursive goroutines (#831) 2017-05-16 11:23:33 -07:00
disasm_amd64.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
disasm.go proc: refactoring: merge target into proc 2017-04-21 14:00:04 -07:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
eval.go proc/eval: fix interface equality with nil (#914) 2017-07-07 11:08:36 -07:00
go_version.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
interface.go proc: fix interaction of RequestManualStop and conditional breakpoints (#876) 2017-07-07 16:29:37 -07:00
mem.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
moduledata.go proc: next, stepout should work on recursive goroutines (#831) 2017-05-16 11:23:33 -07:00
proc_general_test.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
proc_test.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
proc_unix_test.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
proc.go proc: fix interaction of RequestManualStop and conditional breakpoints (#876) 2017-07-07 16:29:37 -07:00
registers.go proc: refactoring: merge target into proc 2017-04-21 14:00:04 -07:00
stack.go proc: next, stepout should work on recursive goroutines (#831) 2017-05-16 11:23:33 -07:00
threads.go proc: read G struct offset from runtime.tlsg if possible (#883) 2017-06-21 15:40:42 -07:00
types.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
variables.go proc/variables: dereference concrete value of interface variables (#905) 2017-06-29 11:17:52 -07:00