JitExplorer
JitExplorer copied to clipboard
System.TimeoutException on JitExplorer.Pipe
Happens with 0.9 and current code releases. The following code throws a TimeoutException:
System.TimeoutException: The operation has timed out.
at System.IO.Pipes.NamedPipeClientStream.ConnectInternal(Int32 timeout, CancellationToken cancellationToken, Int32 startTime)
at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
at JitExplorer.Engine.RuntimeDisassembler.CompileJitAndDisassemble(String sourceCode, Config config) in D:\a\JitExplorer\JitExplorer\JitExplorer.Engine\RuntimeDisassembler.cs:line
https://github.com/bitfaster/JitExplorer/blob/422e67c467151909fd4938515504035d96e3bd07/JitExplorer.Engine/RuntimeDisassembler.cs#L70-L79
Code I wanted to JIT
namespace JitExplorer
{
using System;
public class Test
{
const int bla = 63;
[Jit.This]
public static void Execute()
{
for (int i = 0; i < 100; i++)
{
i = bla + 1;
}
}
}
}