Наша сборка Qt VS Tools
giy
2022-09-02 ca47896204482bf4a6979e3838bf7f09f61cebeb
QtVsTools.Package/QML/Debugging/AD7/QmlDebugAD7Breakpoint.cs
@@ -44,12 +44,12 @@
        static readonly string[] ValidExtensions = new string[] { ".qml", ".js" };
        public QmlEngine Engine { get; private set; }
        public IDebugBreakpointRequest2 Request { get; private set; }
        public enum_BP_LOCATION_TYPE LocationType { get; private set; }
        public BP_REQUEST_INFO RequestInfo { get; private set; }
        private IDebugBreakpointRequest2 Request { get; set; }
        private enum_BP_LOCATION_TYPE LocationType { get; set; }
        private BP_REQUEST_INFO RequestInfo { get; set; }
        public string FileName { get; private set; }
        public TEXT_POSITION BeginPosition { get; private set; }
        public TEXT_POSITION EndPosition { get; private set; }
        private TEXT_POSITION EndPosition { get; set; }
        public bool Enabled { get; private set; }
        HashSet<Breakpoint> breakpoints;
@@ -85,8 +85,7 @@
            if (docPosition == null)
                return false;
            string fileName;
            if (docPosition.GetFileName(out fileName) != VSConstants.S_OK)
            if (docPosition.GetFileName(out string fileName) != VSConstants.S_OK)
                return false;
            if (!ValidExtensions.Where(x => string.Equals(x, Path.GetExtension(fileName))).Any())
@@ -186,12 +185,12 @@
        IDebugBreakpointResolution2 // "This interface represents the information that describes a
                                    //  bound breakpoint."
    {
        public QmlDebugger Debugger { get; private set; }
        public QmlEngine Engine { get; private set; }
        private QmlDebugger Debugger { get; set; }
        private QmlEngine Engine { get; set; }
        public Program Program { get; private set; }
        public PendingBreakpoint Parent { get; private set; }
        public CodeContext CodeContext { get; private set; }
        public bool Enabled { get; set; }
        private CodeContext CodeContext { get; set; }
        private bool Enabled { get; set; }
        bool supressNotify;