Mono.Debugger.Soft.StackFrame.GetVisibleVariables C# (CSharp) Метод

GetVisibleVariables() публичный Метод

public GetVisibleVariables ( ) : IList
Результат IList
		public IList<LocalVariable> GetVisibleVariables () {
			if (Location.ILOffset == -1)
				throw new AbsentInformationException ();

			return Method.GetLocals ().Where (l => l.LiveRangeStart <= location.ILOffset && l.LiveRangeEnd >= location.ILOffset).ToList ();
		}

Usage Example

Пример #1
0
        public MonoStackFrame(MonoThread thread, DebuggedMonoProcess debuggedMonoProcess, StackFrame frame)
        {
            this.thread = thread;
            this.debuggedMonoProcess = debuggedMonoProcess;
            this.frame = frame;

            docContext = new MonoDocumentContext(this.frame.FileName,
                this.frame.LineNumber,
                this.frame.ColumnNumber);
            var locals = frame.GetVisibleVariables().ToList();

            this.locals = locals.Select(x => new MonoProperty(frame, x)).ToList();
        }
All Usage Examples Of Mono.Debugger.Soft.StackFrame::GetVisibleVariables