Rhino.Tools.Debugger.Dim.DimIProxy.GetFrame C# (CSharp) Метод

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

Returns a StackFrame for the given function or script.
Returns a StackFrame for the given function or script.
public GetFrame ( Context cx, DebuggableScript fnOrScript ) : DebugFrame
cx Rhino.Context
fnOrScript DebuggableScript
Результат DebugFrame
			public virtual DebugFrame GetFrame(Context cx, DebuggableScript fnOrScript)
			{
				if (type != IPROXY_DEBUG)
				{
					Kit.CodeBug();
				}
				Dim.FunctionSource item = dim.GetFunctionSource(fnOrScript);
				if (item == null)
				{
					// Can not debug if source is not available
					return null;
				}
				return new Dim.StackFrame(cx, dim, item);
			}