Runtime Tracing

debug_goTrace

주어진 시간 동안 Go 런타임 추적을 진행하며 추적 데이터를 디스크에 입력합니다.

Parameters

Return Value

None

Example

Console

> debug.goTrace("go.trace", 5)
null

HTTP RPC

$ curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"debug_goTrace","params":["go.trace",5],"id":1}' https://public-en-baobab.klaytn.net
{"jsonrpc":"2.0","id":1,"result":null}

debug_startGoTrace

입력으로 받은 파일에 Go 런타임 추적 결과를 씁니다.

Parameters

Return Value

None

Example

Console

> debug.startGoTrace("go.trace")
null

HTTP RPC

$ curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"debug_startGoTrace","params":["go.trace"],"id":1}' https://public-en-baobab.klaytn.net
{"jsonrpc":"2.0","id":1,"result":null}

debug_stopGoTrace

Go 런타임 추적을 중지합니다.

Parameters

None

Return Value

None

Example

Console

> debug.stopGoTrace()
null

HTTP RPC

$ curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"debug_stopGoTrace","params":[],"id":1}' https://public-en-baobab.klaytn.net
{"jsonrpc":"2.0","id":1,"result":null}

Last updated