VSNDK.DebugEngine.AD7Thread.setCurrentLocation C# (CSharp) Method

setCurrentLocation() public method

Called by EventDipatcher to set the current location during break mode.
public setCurrentLocation ( string filename, uint line ) : void
filename string Full short path file name.
line uint Line number.
return void
        public void setCurrentLocation(string filename, uint line)
        {
            if (filename.Contains("~"))
            {
                // Need to lengthen the path used by Visual Studio.
                StringBuilder longPathName = new StringBuilder(1024);
                GetLongPathName(filename, longPathName, longPathName.Capacity);
                _filename = longPathName.ToString();
            }
            else
                _filename = filename;
            _line = line;
        }