Beispiel #1
0
        protected override void OnAttachToProcess(ProcessInfo processInfo)
        {
            if (!DubrovnikDebuggerUtils.GetDebuggerInfo(processInfo, out DubrovnikDebuggerModes debuggerMode, out int port))
            {
                return;
            }

            if (debuggerMode == DubrovnikDebuggerModes.Listen)
            {
                StartListening(IPAddress.Loopback, port);
            }
            else if (debuggerMode == DubrovnikDebuggerModes.Attach)
            {
                StartAttaching(IPAddress.Loopback, port);
            }
        }
Beispiel #2
0
 public override ProcessInfo[] GetAttachableProcesses()
 {
     return(DubrovnikDebuggerUtils.GetFakeProcesses());
 }