public string CreateWatchName(ulong address) { var list = DebugSource.GetSymbolsStartingAt(address); if (list?.Count >= 1) { return(list[0].CommonName); } return(string.Empty); }
public string CreateBreakPointName(ulong address) { var list = DebugSource.GetSymbolsStartingAt(address); if (list?.Count >= 1) { return(list[0].CommonName); } return(GetAddressInfo(address)); }
public string CreateBreakPointName(ulong address) { var list = DebugSource.GetSymbolsStartingAt(address); if (list?.Count >= 1) { return(list[0].CommonName); } else { var first = DebugSource.GetFirstSymbol(address); if (first != null) { int delta = (int)(address - first.Address); return("0x" + delta.ToString("X2") + "+" + first.CommonName); } } return(string.Empty); }