delve/_fixtures/panic.go
aarzilli c4797ea445 proc: Breakpoint to catch unrecovered panics
Automatically sets a breakpoint on runtime.startpanic, the function
that gets called by runtime.dopanic when a panic is not recovered.

Implements #317
2016-03-09 14:15:30 +01:00

6 lines
46 B
Go

package main
func main() {
panic("BOOM!")
}