Make the current debuggee proc clear

This commit is contained in:
Greg
2023-02-17 19:52:03 -07:00
parent bea8b10b1e
commit ddaf748e4c
2 changed files with 4 additions and 0 deletions
@@ -78,6 +78,8 @@ namespace OrbisLibraryManager
var proc = TargetManager.SelectedTarget.Process.GetList().Find(x => x.ProcessId == currentProcessId);
if (proc != null)
CurrentDebuggingProccess.FieldText = $"{proc.Name}({currentProcessId})";
else
CurrentDebuggingProccess.FieldText = "N/A";
RefreshLibraryList();
}
@@ -92,6 +92,8 @@ namespace OrbisPeeknPoke
var proc = TargetManager.SelectedTarget.Process.GetList().Find(x => x.ProcessId == currentProcessId);
if (proc != null)
CurrentDebuggingProccess.FieldText = $"{proc.Name}({currentProcessId})";
else
CurrentDebuggingProccess.FieldText = "N/A";
}
DetachProcess.IsEnabled = Attached;