public sealed class AgentDebuggerViewThe agent debugger: which agents there are, what the selected one is doing, and why.
Remarks
doc 37 § Part 5 § Shared's agent inspector, and § P7's editor panels. Five lists over one AgentDebugModel: the agents, the four sections of its snapshot, the recorded log, and whatever AiDiagnosis made of it.
⚠ It has no document and no command stack, because there is nothing here to edit. The one thing it changes is the breakpoint set, which is not part of any asset — a breakpoint is a fact about a debugging session and putting it in the .vxbt would commit it.
⚠ The findings are drawn above the log rather than beside it. "This agent changed action nine times in forty ticks" is the sentence somebody needs before they start reading forty records, and a panel that made them find it themselves would be a log viewer with a diagnosis feature nobody notices.
Fields and properties (13)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public UiElement AgentsEvery agent in the world, one row each.
public UiElement HeaderWhat the selected agent is, in one line.
public UiElement DoingWhat it is doing: the active path, the scored candidates, the plan.
public UiElement WhyWhy.
public UiElement DataIts data: the blackboard, live.
public UiElement SensesIts senses.
public UiElement FindingsWhat is visibly wrong with it.
public UiElement LogWhat it has decided lately, oldest first.
public Button ContinueLets a stopped agent go.
public Button OpenOpens the asset the selected agent is running, scrolled to what it is doing.
public AgentDebugModel? ModelThe model it is showing, or null.
Events (1)
public Action<Symbol, int>? OpeningWhat to open, and where in it: the asset's name and the live node's index.
Methods (4)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void Show(AgentDebugModel value)Shows a model, and follows it from then on.
public bool OpenAsset()Says which asset the selected agent is running and where in it, for whoever owns the tabs.
public void Refresh()Rebuilds every list from the model.
Used by (2)
- AgentDebuggerViewTestsVixen.Editor.AssetEditors.Tests
- OpenAssetTestsVixen.Editor.AssetEditors.Tests