Add test panic command

This commit is contained in:
Tulir Asokan 2022-04-17 23:54:52 +03:00
parent fa79dc0ca1
commit 1e6174f828

View File

@ -168,6 +168,9 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"hprof": cmdHeapProfile,
"cprof": cmdCPUProfile,
"trace": cmdTrace,
"panic": func(cmd *Command) {
panic("hello world")
},
"rainbownotice": cmdRainbowNotice,