예제 #1
0
        // Construct an instance of IEnumDebugPropertyInfo2 for the locals collection only.
        private List <DEBUG_PROPERTY_INFO> CreateLocalProperties(uint radix)
        {
            var properties = new List <DEBUG_PROPERTY_INFO>();
            IList <NodeEvaluationResult> locals = _stackFrame.Locals;

            for (int i = 0; i < locals.Count; i++)
            {
                var property = new AD7Property(this, locals[i]);
                properties.Add(
                    property.ConstructDebugPropertyInfo(
                        radix,
                        enum_DEBUGPROP_INFO_FLAGS.DEBUGPROP_INFO_STANDARD | enum_DEBUGPROP_INFO_FLAGS.DEBUGPROP_INFO_FULLNAME
                        )
                    );
            }

            return(properties);
        }
예제 #2
0
        // Construct an instance of IEnumDebugPropertyInfo2 for the parameters collection only.
        private List <DEBUG_PROPERTY_INFO> CreateParameterProperties(uint radix)
        {
            var properties = new List <DEBUG_PROPERTY_INFO>();
            var parameters = this._stackFrame.Parameters;

            for (var i = 0; i < parameters.Count; i++)
            {
                var property = new AD7Property(this, parameters[i]);
                properties.Add(
                    property.ConstructDebugPropertyInfo(
                        radix,
                        enum_DEBUGPROP_INFO_FLAGS.DEBUGPROP_INFO_STANDARD | enum_DEBUGPROP_INFO_FLAGS.DEBUGPROP_INFO_FULLNAME
                        )
                    );
            }

            return(properties);
        }
예제 #3
0
        // Construct an instance of IEnumDebugPropertyInfo2 for the parameters collection only.
        private List<DEBUG_PROPERTY_INFO> CreateParameterProperties(uint radix) {
            var properties = new List<DEBUG_PROPERTY_INFO>();
            IList<NodeEvaluationResult> parameters = _stackFrame.Parameters;

            for (int i = 0; i < parameters.Count; i++) {
                var property = new AD7Property(this, parameters[i]);
                properties.Add(
                    property.ConstructDebugPropertyInfo(
                        radix,
                        enum_DEBUGPROP_INFO_FLAGS.DEBUGPROP_INFO_STANDARD | enum_DEBUGPROP_INFO_FLAGS.DEBUGPROP_INFO_FULLNAME
                        )
                    );
            }

            return properties;
        }