开发者

MonoTouch's Soft Debugger don't connect to App on iPhone - why?

I'm quite new on MonoTouch, so please forgive me my question in doubt... ;-)

I need help with the soft-debugger, because it's not connecting to the App on the device. While with iPhone Simulator everything is working as开发者_如何学编程 expected, the following happens when I start debugging against my device:

  • The is uploaded and installed to the device.
  • MonoDevelop comes up with a window saying the following: "Waiting for debugger to connect on 127.0.0.1:10000..." Please start the application on the device"
  • When starting the app on the device, the device vibrates indicating that the debugger is not connected....

In the settings of my App on the iPhone I have set the IP-Adress to my Mac's IP.

My iPhone is connected via WIFI to my network. I can ping my Mac from my iPhone and vice versa.

In several screenshots where the debugger was obviously working I saw that the debugger came up with the Mac's IP address and not the 127.0.0.1....

Do I have to configure my IP-address somewhere in MonoDevelop?

BTW: I'm using the latest version of MonoDevelop - it's 2.4.1

I have tried anything.... re-installing MonoDevelop, cleaning up the project several times, setting up a new project.... nothing...

Please, please help....


1.- Make sure you are connected the same wifi network both on device and computer

2.- Open monodevelop and your project and on top of the window select on the combobox "Debug|iPhone" (ScreenShot) setting and then clic on Run(menu)->Run Option (wait until it finishes to load your app on the device and DO NOT Open it yet)

3.- Get the ip address of your computer

4.- On the iDevice make sure that the application its closed then go to Settings -> (YourAppName) here you will be with the debug settings

5.- On Debugger Host setting you must put you computers ip address

6.- on MonoDevelop under Run(menu)->Debug you will be presented with the "Waitting for Debugger"

7.- Open you application and debbuger should connect now

Hope this helps

Alex


Alex,

many thanks for your replies! They were very helpful to me (especially point 5).

I have solved the problem by setting the Host IP in the ~/.config/MonoDevelop/MonoDevelopProperties.xml. That did it! :-)

Now I'm wondering where I do this setting in the MonoDevelop GUI... ;-)

Cheers, Andreas

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜