예제 #1
0
파일: Program.cs 프로젝트: texbois/vsbasm
        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);
        }