2023-05-22 21:44:05 -05:00
|
|
|
using Microsoft.Iris.Debug.Data;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.Iris.Debug;
|
|
|
|
|
|
2025-07-20 02:13:16 -05:00
|
|
|
public interface IDebuggerServer : IDebuggerState
|
2023-05-22 21:44:05 -05:00
|
|
|
{
|
2024-01-20 20:32:30 -06:00
|
|
|
/// <summary>
|
|
|
|
|
/// Sends the requested line number table.
|
|
|
|
|
/// </summary>
|
|
|
|
|
MarkupLineNumberEntry[] OnLineNumberTableRequested(string uri);
|
|
|
|
|
|
2023-05-22 21:44:05 -05:00
|
|
|
/// <summary>
|
2023-10-09 14:46:51 -05:00
|
|
|
/// Logs the context, opcode, and operands of an instruction
|
|
|
|
|
/// decoded by <c>Microsoft.Iris.Markup.Interpreter</c>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
void LogInterpreterDecode(object context, InterpreterInstruction instruction);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Logs the context, opcode, arguments, and results of an instruction
|
2023-05-22 21:44:05 -05:00
|
|
|
/// executed by <c>Microsoft.Iris.Markup.Interpreter</c>.
|
|
|
|
|
/// </summary>
|
2023-10-09 14:46:51 -05:00
|
|
|
void LogInterpreterExecute(object context, InterpreterEntry entry);
|
2023-05-22 21:44:05 -05:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Logs the string representation of a dispatcher step.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="message"></param>
|
2023-06-02 00:09:51 -05:00
|
|
|
void LogDispatcher(string message);
|
2025-07-20 02:13:16 -05:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Waits for the debugger to continue execution. Will block the current thread.
|
|
|
|
|
/// </summary>
|
|
|
|
|
void WaitForContinue();
|
2023-05-22 21:44:05 -05:00
|
|
|
}
|