Hi,
I'm setting up remote debugging on a new computer and I'm getting an error when "Attaching" while trying to remote debug a connector. When clicking the "Test Connection" button in the DIS settings I get a success message and I've tried changing all the DNS names to the IP without success. The green plus in the DIS Inject window successfully uploads the dlls.
Error:
2024/02/05 11:38:49.769|Could not retrieve processes
System.Runtime.InteropServices.COMException (0x80040022): The debugger cannot connect to the remote computer. The debugger was unable to resolve the specified computer name.
at EnvDTE100.Debugger5.GetProcesses(Transport pTransport, String TransportQualifier)
at Skyline.VSX.ProtocolEditor.Toolwindows.ViewModel.InjectDllManager`2.RetrieveProcesses(DmaDebugInfo debugSettings, Transport transport)
2024/02/05 11:38:49.957|OnAttach_Executed|System.Exception: Could not retrieve processes, please check your settings. ---> System.Runtime.InteropServices.COMException: The debugger cannot connect to the remote computer. The debugger was unable to resolve the specified computer name.
at EnvDTE100.Debugger5.GetProcesses(Transport pTransport, String TransportQualifier)
at Skyline.VSX.ProtocolEditor.Toolwindows.ViewModel.InjectDllManager`2.RetrieveProcesses(DmaDebugInfo debugSettings, Transport transport)
--- End of inner exception stack trace ---
at Skyline.VSX.ProtocolEditor.Toolwindows.ViewModel.InjectDllManager`2.RetrieveProcesses(DmaDebugInfo debugSettings, Transport transport)
at Skyline.VSX.ProtocolEditor.Toolwindows.ViewModel.InjectDllManager`2.AttachToProcess(String processName)
at Skyline.VSX.ProtocolEditor.Toolwindows.ViewModel.InjectDllManager`2.OnAttach_Executed(Object sender, ExecutedRoutedEventArgs e)
Solved it. Apparently it was the computer name in the "Debugger qualifier" field that my local client couldn't resolve. Exchanged it for the IP instead and it worked.