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