Example #1
0
        /// <inheritdoc/>
        public IEnumerable <DebugEntryData> GetDebugEntries(FileInfo file, bool calculateBlobId = false)
        {
            Contract.Requires(File.Exists(file.FullName));

            var entries = m_symstoreUtil.GetDebugEntryData(
                file.FullName,
                new[] { file.FullName },
                calculateBlobId);

            return(entries);
        }
Example #2
0
        /// <inheritdoc/>
        public IEnumerable <DebugEntryData> GetDebugEntries(FileInfo file, bool calculateBlobId = false)
        {
            Contract.Requires(File.Exists(file.FullName));

            var entries = m_symstoreUtil.GetDebugEntryData(
                file.FullName,
                new[] { file.FullName },
                calculateBlobId,
                // Currently, only file-deduped (VsoHash) symbols are supported
                isChunked: false);

            return(entries);
        }
Example #3
0
        /// <inheritdoc/>
        public IEnumerable <DebugEntryData> GetDebugEntries(FileInfo file, bool calculateBlobId = false)
        {
            Contract.Requires(File.Exists(file.FullName));

            // Symbol does not support .js.map files yet. Talks are underway with the artifact of adding it there.
            // To support javascript's symbols called sourcemaps, in office in the mean time, we can special case
            // the logic here.
            // Bug 1844922: Tracks removing this code once it is shipped with the artifacts symbol library and that
            // version is ingested into buildxl.
            if (file.FullName.EndsWith(".js.map", System.StringComparison.OrdinalIgnoreCase))
            {
                return(GetJsMapDebugEntries(file, calculateBlobId));
            }

            var entries = m_symstoreUtil.GetDebugEntryData(
                file.FullName,
                new[] { file.FullName },
                calculateBlobId,
                // Currently, only file-deduped (VsoHash) symbols are supported
                isChunked: false);

            return(entries);
        }