Exemplo n.º 1
0
        public int EnumFrameInfo(enum_FRAMEINFO_FLAGS dwFieldSpec, uint nRadix, out IEnumDebugFrameInfo2 ppEnum)
        {
            FRAMEINFO frameinfo;
            var       context = _sourceFile.GetAddressContext(_runner.ExecutionState.ProgramCounter);
            var       frame   = new StackFrame(context, _runner.ExecutionState);

            frame.SetFrameInfo(dwFieldSpec, out frameinfo);
            ppEnum = new AD7FrameInfoEnum(new FRAMEINFO[] { frameinfo });
            return(VSConstants.S_OK);
        }