private void AddSymbol(ulong ip) { SimSymbol symbol = SimCPU.FindSymbol(ip); if (symbol != null) { treeView1.Nodes.Add(new CallStackEntry(symbol, ip, true)); } else { treeView1.Nodes.Add(new CallStackEntry(ip, true)); } }
public void AddHistory(BaseSimState simState) { if (!MainForm.Record) { return; } if (simState.IP == 0xFFFFFFF0) { return; } string methodName = SimCPU.FindSymbol(simState.IP).Name; pendingHistory.Enqueue(new HistoryEntry(simState, methodName, MainForm.Display32)); }