2023-05-22 21:44:05 -05:00
|
|
|
using Microsoft.Iris.Debug.Data;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.Iris.Debug;
|
|
|
|
|
|
2023-10-11 13:22:33 -05:00
|
|
|
public interface IDebuggerClient : IDebuggerState
|
2023-05-22 21:44:05 -05:00
|
|
|
{
|
2023-06-02 00:09:51 -05:00
|
|
|
event Action<InterpreterCommand> InterpreterStateChanged;
|
|
|
|
|
|
2023-05-22 21:44:05 -05:00
|
|
|
/// <summary>
|
2023-10-09 14:46:51 -05:00
|
|
|
/// Fired when the UIX interpreter decodes an instruction.
|
2023-05-22 21:44:05 -05:00
|
|
|
/// </summary>
|
2023-10-09 14:46:51 -05:00
|
|
|
event EventHandler<InterpreterInstruction> InterpreterDecode;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fired when the UIX interpreter executes an instruction.
|
|
|
|
|
/// </summary>
|
|
|
|
|
event EventHandler<InterpreterEntry> InterpreterExecute;
|
2023-05-22 21:44:05 -05:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fired when the UIX dispatcher executes another call from the queue.
|
|
|
|
|
/// </summary>
|
|
|
|
|
event Action<string> DispatcherStep;
|
2023-06-02 00:09:51 -05:00
|
|
|
|
|
|
|
|
void UpdateBreakpoint(Breakpoint breakpoint);
|
2024-01-20 20:32:30 -06:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Requests the line number table for the given UIX file.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="uri">The URI of the file to get information for.</param>
|
|
|
|
|
void RequestLineNumberTable(string uri, Action<MarkupLineNumberEntry[]> callback);
|
2023-05-22 21:44:05 -05:00
|
|
|
}
|