2022-06-07 01:00:15 -05:00
|
|
|
using Microsoft.Iris.Debug;
|
|
|
|
|
|
|
|
|
|
namespace SimpleDebugClient
|
|
|
|
|
{
|
|
|
|
|
internal class Program
|
|
|
|
|
{
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
Bridge bridge = new(OwlCore.Remoting.RemotingMode.Client);
|
2022-10-07 09:34:08 -05:00
|
|
|
|
|
|
|
|
Console.WriteLine("Listening for debug messages. Press ENTER to exit.");
|
|
|
|
|
Console.ReadLine();
|
2022-06-12 21:21:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void Bridge_DispatcherStep(string obj)
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine(obj);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void Bridge_InterpreterStep(object? sender, Microsoft.Iris.Debug.Data.InterpreterEntry e)
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine(e);
|
2022-06-07 01:00:15 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|