Наша сборка Qt VS Tools
giy
2022-09-02 ca47896204482bf4a6979e3838bf7f09f61cebeb
QtVsTools.Package/QML/Debugging/AD7/QmlDebugAD7Property.cs
@@ -29,7 +29,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Debugger.Interop;
@@ -43,23 +42,23 @@
                        //  property, or some other property. The property is usually the result of
                        //  an expression evaluation."
    {
        public QmlDebugger Debugger { get; private set; }
        private QmlDebugger Debugger { get; set; }
        public QmlEngine Engine { get; private set; }
        public Program Program { get; private set; }
        public StackFrame StackFrame { get; private set; }
        public CodeContext CodeContext { get; private set; }
        private QmlEngine Engine { get; set; }
        private Program Program { get; set; }
        private StackFrame StackFrame { get; set; }
        private CodeContext CodeContext { get; set; }
        public Property Parent { get; private set; }
        public SortedDictionary<string, Property> Children { get; private set; }
        private Property Parent { get; set; }
        private SortedDictionary<string, Property> Children { get; set; }
        public int FrameNumber { get; private set; }
        public int ScopeNumber { get; private set; }
        public JsValue JsValue { get; private set; }
        public string Name { get; private set; }
        public string FullName { get; private set; }
        public string Type { get; private set; }
        public string Value { get; private set; }
        private int FrameNumber { get; set; }
        private int ScopeNumber { get; set; }
        private JsValue JsValue { get; set; }
        private string Name { get; set; }
        private string FullName { get; set; }
        private string Type { get; set; }
        private string Value { get; set; }
        public static Property Create(
            StackFrame frame,
@@ -120,11 +119,9 @@
        static string GetChildKey(string childName)
        {
            int childIndex;
            if (int.TryParse(childName, out childIndex))
            if (int.TryParse(childName, out int childIndex))
                return string.Format("{0:D9}", childIndex);
            else
                return childName;
            return childName;
        }
        int IDebugProperty2.SetValueAsString(string pszValue, uint dwRadix, uint dwTimeout)
@@ -242,8 +239,7 @@
        public DEBUG_PROPERTY_INFO GetInfo(enum_DEBUGPROP_INFO_FLAGS dwFields)
        {
            DEBUG_PROPERTY_INFO info;
            Info.Map(MappingToDEBUG_PROPERTY_INFO, dwFields, out info);
            Info.Map(MappingToDEBUG_PROPERTY_INFO, dwFields, out DEBUG_PROPERTY_INFO info);
            return info;
        }
@@ -275,19 +271,19 @@
            public static readonly Guid Registers
                = new Guid("223ae797-bd09-4f28-8241-2763bdc5f713");
            public static readonly Guid Locals
            private static readonly Guid Locals
                = new Guid("b200f725-e725-4c53-b36a-1ec27aef12ef");
            public static readonly Guid AllLocals
            private static readonly Guid AllLocals
                = new Guid("196db21f-5f22-45a9-b5a3-32cddb30db06");
            public static readonly Guid Args
                = new Guid("804bccea-0475-4ae7-8a46-1862688ab863");
            public static readonly Guid LocalsPlusArgs
            private static readonly Guid LocalsPlusArgs
                = new Guid("e74721bb-10c0-40f5-807f-920d37f95419");
            public static readonly Guid AllLocalsPlusArgs
            private static readonly Guid AllLocalsPlusArgs
                = new Guid("939729a8-4cb0-4647-9831-7ff465240d5f");
            public static bool LocalsSelected(ref Guid guidFilter)