debug¶
Debug related features
-
class
aioethereum.management.debug.
DebugMixin
¶ Bases:
object
-
coroutine
debug_backtraceAt
(filename_line)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_backtraceat
Parameters: filename_line (str) – Filename and its line for debugging Return type: None
-
coroutine
debug_blockProfile
(file, seconds)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_blockprofile
Parameters: - file (str) – Log file path
- seconds (int) – Seconds for profile capturing
Return type: None
-
coroutine
debug_cpuProfile
(file, seconds)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_cpuprofile
Parameters: - file (str) – Log file path
- seconds (int) – Seconds for profile capturing
Return type: None
-
coroutine
debug_dumpBlock
(number)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_dumpblock
Parameters: number (int) – Block number Returns: accounts Return type: dict
-
coroutine
debug_gcStats
()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_gcstats
Returns: https://golang.org/pkg/runtime/debug/#GCStats Return type: dict
-
coroutine
debug_getBlockRlp
(number)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_getblockrlp
Parameters: number (int) – Block number Returns: RLP Return type: str
-
coroutine
debug_goTrace
(file, seconds)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_gotrace
Parameters: - file (str) – Log file path
- seconds (int) – Seconds for profile capturing
Return type: None
-
coroutine
debug_memStats
()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_memstats
Returns: https://golang.org/pkg/runtime/debug/#MemStats Return type: dict
-
coroutine
debug_seedHash
(number)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_seedhash
Parameters: number (int) – Block number Returns: hash Return type: str or error
-
coroutine
debug_setBlockProfileRate
(rate)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_sethead
Parameters: rate (int) – Rate of goroutine block (samples/sec) Return type: None
-
coroutine
debug_setHead
(number)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_sethead
Parameters: number (int) – Block number Return type: None
-
coroutine
debug_stacks
()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_stacks
Return type: str
-
coroutine
debug_startCPUProfile
(file)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_startcpuprofile
Parameters: file (str) – Log file path Return type: None
-
coroutine
debug_startGoTrace
(file)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_startgotrace
Parameters: file (str) – Log file path Return type: None
-
coroutine
debug_stopCPUProfile
()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_stopcpuprofile
Return type: None
-
coroutine
debug_stopGoTrace
()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_stopgotrace
Return type: None
-
coroutine
debug_traceBlock
(block_rlp)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_traceblock
# TODO: Add more description for params
Return type: dict
-
coroutine
debug_traceBlockByHash
(bhash)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_traceblockbyhash
Parameters: bhash (str) – Block hash Return type: dict
-
coroutine
debug_traceBlockByNumber
(number)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_traceblockbynumber
Parameters: number (int) – Block number Return type: dict
-
coroutine
debug_traceBlockFromFile
(file)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_traceblockfromfile
Parameters: file (str) – Log file path Return type: dict
-
coroutine
debug_traceTransaction
(txhash)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_tracetransaction
Parameters: txhash (str) – Transaction hash Return type: dict
-
coroutine
debug_verbosity
(level)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_verbosity
Parameters: level (int) – Debug lvl Return type: None
-
coroutine
debug_vmodule
(pattern)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_vmodule
Parameters: pattern (str) – Logging verbosity pattern Return type: None
-
coroutine
debug_writeBlockProfile
(file)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_writeblockprofile
Parameters: file (str) – Log file path Return type: None
-
coroutine
debug_writeMemProfile
(file)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#debug_writememprofile
Parameters: file (str) – Log file path Return type: None
-
coroutine