Skip to main content

Ethereum debugger

Project description

Buguet

Ethereum Debugger (for smart contracts in Solidity).

Prerequisites

python3

Ethereum node running in archive mode with debug api. E.g. geth:

  geth --rpc --rpcapi eth,debug --gcmode archive

By default localhost:8545 endpoint is used.

Compiled contracts in format produced by solc with --combined-json option. Each contract called in transaction should be compiled with the same solidity version as it deployed on the blockchain (multiple versions can be used for one transaction).

Installation

pip install buguet

Usage

Basic usage is:

buguet contract1.json,contract2.json transaction_id

See buguet --help for all options.

Commands

    help (h)                Print help
    step (s)                Step into function
    next (n)                Next line in current frame
    stepout (so)            Step out of current function
    continue (c)            Continue execution
    break {file}:{line}     Set breakpoint
    breakpoints             List breakpoints
    unbreak {idx}           Remove breakpoint
    stack                   Print current stack
    mem                     Print memory
    op                      Print and execute one instruction
    {expr}                  Evaluate expression

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buguet-1.0.3.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

buguet-1.0.3-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file buguet-1.0.3.tar.gz.

File metadata

  • Download URL: buguet-1.0.3.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for buguet-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e985de0a50b1b9f5ea0ce07f5a9b58678c1f1252e8b9473f7bc82de086cbe34a
MD5 8d336ed10ab967110757ad20a082e1f5
BLAKE2b-256 2478cb03f6837b9586b9afe5c858f474019914cf2fd1bb70ae046253f7939e39

See more details on using hashes here.

File details

Details for the file buguet-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: buguet-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for buguet-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19f916d62ea87a3690ae06648cd9803150b7c1d35b340bc3372d83f435beb772
MD5 3b18db8e4d51147fa6752fc2dd820bfe
BLAKE2b-256 bd2ed2551639544c2dfbf6e5351e46ea9cf67e9fc8227749aaf274b274cee04a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page