mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
25 lines
676 B
C#
25 lines
676 B
C#
using Microsoft.Iris.Debug;
|
|
|
|
namespace SimpleDebugClient
|
|
{
|
|
internal class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Bridge bridge = new(OwlCore.Remoting.RemotingMode.Client, logDispatcher: Bridge_DispatcherStep);
|
|
|
|
Console.WriteLine("Listening for debug messages. Press ENTER to exit.");
|
|
Console.ReadLine();
|
|
}
|
|
|
|
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);
|
|
}
|
|
}
|
|
} |