예제 #1
0
 public DebugGeth(IClient client) : base(client)
 {
     BacktraceAt         = new DebugBacktraceAt(client);
     BlockProfile        = new DebugBlockProfile(client);
     CpuProfile          = new DebugCpuProfile(client);
     DumpBlock           = new DebugDumpBlock(client);
     GcStats             = new DebugGcStats(client);
     GetBlockRlp         = new DebugGetBlockRlp(client);
     GoTrace             = new DebugGoTrace(client);
     MemStats            = new DebugMemStats(client);
     SeedHash            = new DebugSeedHash(client);
     SetBlockProfileRate = new DebugSetBlockProfileRate(client);
     Stacks             = new DebugStacks(client);
     StartCPUProfile    = new DebugStartCPUProfile(client);
     StartGoTrace       = new DebugStartGoTrace(client);
     StopCPUProfile     = new DebugStopCPUProfile(client);
     StopGoTrace        = new DebugStopGoTrace(client);
     TraceBlock         = new DebugTraceBlock(client);
     TraceBlockByHash   = new DebugTraceBlockByHash(client);
     TraceBlockByNumber = new DebugTraceBlockByNumber(client);
     TraceBlockFromFile = new DebugTraceBlockFromFile(client);
     TraceTransaction   = new DebugTraceTransaction(client);
     Verbosity          = new DebugVerbosity(client);
     Vmodule            = new DebugVmodule(client);
     StackErrorChecker  = new VmStackErrorChecker();
 }
예제 #2
0
 public DebugGeth(IClient client) : base(client)
 {
     BacktraceAt = new DebugBacktraceAt(client);
     BlockProfile = new DebugBlockProfile(client);
     CpuProfile = new DebugCpuProfile(client);
     DumpBlock = new DebugDumpBlock(client);
     GcStats = new DebugGcStats(client);
     GetBlockRlp = new DebugGetBlockRlp(client);
     GoTrace = new DebugGoTrace(client);
     MemStats = new DebugMemStats(client);
     SeedHash = new DebugSeedHash(client);
     SetBlockProfileRate = new DebugSetBlockProfileRate(client);
     Stacks = new DebugStacks(client);
     StartCPUProfile = new DebugStartCPUProfile(client);
     StartGoTrace = new DebugStartGoTrace(client);
     StopCPUProfile = new DebugStopCPUProfile(client);
     StopGoTrace = new DebugStopGoTrace(client);
     TraceBlock = new DebugTraceBlock(client);
     TraceBlockByHash = new DebugTraceBlockByHash(client);
     TraceBlockByNumber = new DebugTraceBlockByNumber(client);
     TraceBlockFromFile = new DebugTraceBlockFromFile(client);
     TraceTransaction = new DebugTraceTransaction(client);
     Verbosity = new DebugVerbosity(client);
     Vmodule = new DebugVmodule(client);
     StackErrorChecker = new VmStackErrorChecker();
 }
        public override async Task <object> ExecuteAsync(IClient client)
        {
            var debugCpuProfile = new DebugStartCPUProfile(client);

            return(await debugCpuProfile.SendRequestAsync(Settings.GetDefaultLogLocation()));
        }
        public override async Task <object> ExecuteAsync(IClient client)
        {
            var debugCpuProfile = new DebugStartCPUProfile(client);

            return(await debugCpuProfile.SendRequestAsync(@"C:\ProgramData\chocolatey\lib\geth-stable\tools\log.txt"));
        }