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