Add test panic command
This commit is contained in:
parent
fa79dc0ca1
commit
1e6174f828
@ -168,6 +168,9 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
|
|||||||
"hprof": cmdHeapProfile,
|
"hprof": cmdHeapProfile,
|
||||||
"cprof": cmdCPUProfile,
|
"cprof": cmdCPUProfile,
|
||||||
"trace": cmdTrace,
|
"trace": cmdTrace,
|
||||||
|
"panic": func(cmd *Command) {
|
||||||
|
panic("hello world")
|
||||||
|
},
|
||||||
|
|
||||||
"rainbownotice": cmdRainbowNotice,
|
"rainbownotice": cmdRainbowNotice,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user