Exemple #1
0
        public bool FetchValue(int Address, out byte Content)
        {
            Content = 0;
            if (State != DebuggerState.PAUSED)
            {
                return(false);
            }
            if (!m_RequestedMemoryValues[Address])
            {
                m_RequestedMemoryValues[Address] = true;
                m_MemoryValues.Remove(Address);

                RequestData requData = new RequestData(DebugRequestType.MEM_DUMP);
                requData.Parameter1 = Address;
                requData.Parameter2 = Address + 1 - 1;
                requData.Info       = "";
                QueueRequest(requData);
            }
            else if (m_MemoryValues.ContainsKey(Address))
            {
                Content = m_MemoryValues[Address];
                return(true);
            }
            return(false);
        }
Exemple #2
0
 internal void DeleteConfiguration(string ConfigName)
 {
     Configs.Remove(ConfigName);
 }