diff --git a/Windows/OrbisLibraryManager/MainWindow.xaml.cs b/Windows/OrbisLibraryManager/MainWindow.xaml.cs index 057594c..8ea63de 100644 --- a/Windows/OrbisLibraryManager/MainWindow.xaml.cs +++ b/Windows/OrbisLibraryManager/MainWindow.xaml.cs @@ -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(); } diff --git a/Windows/OrbisPeeknPoke/MainWindow.xaml.cs b/Windows/OrbisPeeknPoke/MainWindow.xaml.cs index 4b45a3f..8338cbf 100644 --- a/Windows/OrbisPeeknPoke/MainWindow.xaml.cs +++ b/Windows/OrbisPeeknPoke/MainWindow.xaml.cs @@ -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;