-
-
Save rolfbjarne/c78abc10b909a6099c07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit a14e9a2040a4aaa32fb4c598f3876a343dd153ac | |
Author: Rolf Bjarne Kvinge <rolf@xamarin.com> | |
Date: Thu Mar 21 22:47:51 2013 +0100 | |
[iPhone] Let the system find a free port to use for debugging. | |
Probably fixes this: http://forums.xamarin.com/discussion/comment/8565/#Comment_8565 | |
diff --git a/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/IPhoneExecutionHandler.cs b/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/IPhoneExecutionHandler.cs | |
index c7a7602..1615f8f 100644 | |
--- a/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/IPhoneExecutionHandler.cs | |
+++ b/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/IPhoneExecutionHandler.cs | |
@@ -338,7 +338,7 @@ namespace MonoDevelop.IPhone | |
{ | |
bool isSim = device == null; | |
if (isSim) { | |
- return new IPhoneTcpCommandConnection (IPAddress.Loopback, IPhoneSettings.DebuggerPort); | |
+ return new IPhoneTcpCommandConnection (IPAddress.Loopback, 0); | |
} else if (IPhoneSettings.UseUsbDebugging) { | |
return new IPhoneUsbCommandConnection (device, IPhoneSettings.DebuggerPort); | |
} else { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment