private ZRoutine GetRoutineByAddress(int address) { ZRoutine routine; if (!routineTable.TryGetByAddress(address, out routine)) { routineTable.Add(address); routine = routineTable.GetByAddress(address); } return(routine); }
// TODO: Hide this when there's a debugger service with an appropriate event. public void Add(int address) { routineTable.Add(address); }