示例#1
0
        public void DisplayLocalVariables()
        {
            try
            {
                uint localVariableCount = ActiveFrame.GetLocalVariableCount();
                List <NuGenBaseValueRefresher> localVariables = new List <NuGenBaseValueRefresher>(Convert.ToInt32(localVariableCount));

                for (uint index = 0; index < localVariableCount; index++)
                {
                    NuGenLocalVariableRefresher refresher = new NuGenLocalVariableRefresher(string.Concat("V_", index), ActiveFrameRefresher, index);

                    localVariables.Add(refresher);
                }

                ShowObjects(localVariables);
            }
            catch (Exception exception)
            {
                NuGenUIHandler.Instance.ShowException(exception);
            }
        }
		public void DisplayLocalVariables()
		{
			try
			{
				uint localVariableCount = ActiveFrame.GetLocalVariableCount();
				List<NuGenBaseValueRefresher> localVariables = new List<NuGenBaseValueRefresher>(Convert.ToInt32(localVariableCount));

				for (uint index = 0; index < localVariableCount; index++)
				{
					NuGenLocalVariableRefresher refresher = new NuGenLocalVariableRefresher(string.Concat("V_", index), ActiveFrameRefresher, index);

					localVariables.Add(refresher);
				}

				ShowObjects(localVariables);
			}
			catch (Exception exception)
			{
				NuGenUIHandler.Instance.ShowException(exception);
			}
		}