{"modulePath":"github.com/onflow/execution-debugger","version":"v0.0.0-20230503123939-412c607d67ef","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package debuggers\n\n## Types\n\n```go\ntype LogInterceptor struct {\n\tComputationIntensities map[uint64]uint64 `json:\"computationIntensities\"`\n\tMemoryIntensities      map[uint64]uint64 `json:\"memoryIntensities\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewLogInterceptor(log zerolog.Logger, directory string) *LogInterceptor\n```\n\n```go\nfunc (l *LogInterceptor) Close() error\n```\n\n```go\nfunc (l *LogInterceptor) Write(p []byte) (n int, err error)\n```\n\n```go\ntype ProfileBuilder struct {\n\tProfile *profile.Profile\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewProfileBuilder(directory string) *ProfileBuilder\n```\n\n```go\nfunc (p *ProfileBuilder) Close() error\n```\n\n```go\nfunc (p *ProfileBuilder) OnCadenceStatement(fvmEnv fvmRuntime.Environment, inter *interpreter.Interpreter, statement ast.Statement)\n```\n\n```go\ntype RemoteDebugger struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRemoteDebugger(\n\tview *debugger.RemoteView,\n\tchain flow.Chain,\n\tdirectory string,\n\tlogger zerolog.Logger) *RemoteDebugger\n```\n\n```go\nfunc (d *RemoteDebugger) Close() error\n```\n\n```go\nfunc (d *RemoteDebugger) RunScript(code []byte, arguments [][]byte) (value cadence.Value, scriptError, processError error)\n```\n\n```go\nfunc (d *RemoteDebugger) RunTransaction(txBody *flow.TransactionBody) (txErr, processError error)\n```\nRunTransaction runs the transaction given the latest sealed block data\n\n```go\ntype TransactionDebugger struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewTransactionDebugger(\n\ttxResolver debugger.TransactionResolver,\n\tarchiveHost string,\n\tdpsClient dps.APIClient,\n\tchain flow.Chain,\n\tlogger zerolog.Logger) *TransactionDebugger\n```\n\n```go\nfunc (d *TransactionDebugger) RunTransaction(ctx context.Context) (txErr, processError error)\n```\n\n","path":"github.com/onflow/execution-debugger/debuggers","name":"debuggers","synopsis":"","isRedistributable":true}
