Ejemplo n.º 1
0
        internal static DebugSymbolReader GetReader(string aFilePath)
        {
            if (File.Exists(aFilePath))
            {
                if (mCurrentDebugSymbolReader != null && mCurrentFile == aFilePath)
                {
                    return(mCurrentDebugSymbolReader);
                }

                mCurrentDebugSymbolReader = new DebugSymbolReader(aFilePath);

                if (mCurrentDebugSymbolReader.mPEReader.HasMetadata)
                {
                    mCurrentFile = aFilePath;

                    return(mCurrentDebugSymbolReader);
                }
            }

            return(null);
        }
Ejemplo n.º 2
0
        public SequencePoint[] GetSequencePoints(string aAsmPathname, int aMethodToken, bool aFilterHiddenLines = false)
        {
            var xSeqPoints = DebugSymbolReader.GetSequencePoints(aAsmPathname, aMethodToken);

            return(xSeqPoints.ToArray());
        }