tailscale/wgengine
James Tucker e09e8d0701
wgengine: do not terminate the process when in a debugger breakpoint
The watchdog attempts to check if an operation has locked up, but this
happens as a natural course of running under a debugger. The output is
noisy, and the final operation is fatal. Replace that with a short
output instead when $TS_DEBUGGER is set.

Fixes #8301
Signed-off-by: James Tucker <james@tailscale.com>
2023-06-07 15:50:31 -07:00
..
bench all: move network monitoring from wgengine/monitor to net/netmon 2023-04-20 10:15:59 -07:00
capture various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
filter all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
magicsock wgengine/magicsock: annotate, skip flaky TestIsWireGuardOnlyPickEndpointByPing 2023-05-03 14:58:28 -07:00
netlog all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
netstack wgengine/netstack: use ping6 on BSD platforms 2023-05-28 09:50:21 -07:00
router all: move network monitoring from wgengine/monitor to net/netmon 2023-04-20 10:15:59 -07:00
wgcfg tailcfg: make SelfNodeV4MasqAddrForThisPeer a pointer 2023-04-13 11:28:33 -07:00
wgint all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wglog all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winnet all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mem_ios.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pendopen.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00
userspace_ext_test.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00
userspace_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog.go wgengine: do not terminate the process when in a debugger breakpoint 2023-06-07 15:50:31 -07:00
watchdog_js.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wgengine.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00