Ejemplo n.º 1
0
 /// <summary>
 /// This method returns the collection of variables that are exposed at this current call stack. This
 /// is used for the locals and watch windows.
 /// </summary>
 /// <param name="dwFields"></param>
 /// <param name="nRadix"></param>
 /// <param name="guidFilter"></param>
 /// <param name="dwTimeout"></param>
 /// <param name="pcelt"></param>
 /// <param name="ppEnum"></param>
 /// <returns></returns>
 public int EnumProperties(enum_DEBUGPROP_INFO_FLAGS dwFields, uint nRadix, ref Guid guidFilter, uint dwTimeout, out uint pcelt, out IEnumDebugPropertyInfo2 ppEnum)
 {
     Log.Debug("ScriptStackFrame: EnumProperties");
     pcelt  = 0;
     ppEnum = new ScriptPropertyCollection(_debugger);
     return(VSConstants.S_OK);
 }
Ejemplo n.º 2
0
        public int EnumChildren(enum_DEBUGPROP_INFO_FLAGS dwFields, uint dwRadix, ref Guid guidFilter, enum_DBG_ATTRIB_FLAGS dwAttribFilter, string pszNameFilter, uint dwTimeout, out IEnumDebugPropertyInfo2 ppEnum)
        {
            if (Value != null)
            {
                var props = GetChildren();
                ppEnum = new ScriptPropertyCollection(props.ToArray());
                return(VSConstants.S_OK);
            }

            ppEnum = null;
            return(VSConstants.S_FALSE);
        }