Rolf,

I am using Wireless. Here's a cut from my latest attempt to debug before it got 
killed:

Please ensure your device is connected...
Connected to: Dino's iPhone
2012-05-30 07:37:57.420 KleverLogicFlashValetiPhoneValet[874:1903] MonoTouch: 
Established connection with MonoDevelop (fd: 5)
2012-05-30 07:37:57.426 KleverLogicFlashValetiPhoneValet[874:1903] MonoTouch: 
Processing: 'start debugger: sdb'
2012-05-30 07:37:57.441 KleverLogicFlashValetiPhoneValet[874:1903] MonoTouch: 
Established connection with MonoDevelop (fd: 6)
2012-05-30 07:37:57.458 KleverLogicFlashValetiPhoneValet[874:707] MonoTouch: 
Debugger loaded with custom transport (fd: 5)
2012-05-30 07:37:57.459 KleverLogicFlashValetiPhoneValet[874:1903] MonoTouch: 
Processing: 'start profiler: no'
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/Mono.Security.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/System.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/monotouch.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/dtdev.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/System.Xml.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/System.Data.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/System.Transactions.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/Mono.Data.Sqlite.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/Xception.iPhone.UI.dll
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/KleverLogic.FlashValet.Mobile.Framework.iPhone.dll
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/System.Web.Services.dll
 [External]
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/KleverLogic.FlashValet.SmartClient.iPhone.dll
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/Braintree.iPhone.dll
Loaded assembly: 
/private/var/mobile/Applications/26A65C25-5CFD-433A-8AC6-3A201154FE84/KleverLogicFlashValetiPhoneValet.app/KleverLogicFlashValetiPhoneValet.exe
Thread started: Finalizer
07:38:14.038 Begin FinishedLaunching
07:38:14.376 Begin ConnectLinea
07:38:14.434 End ConnectLinea
07:38:14.435 End FinishedLaunching
07:38:14.485 Begin Login ViewDidLoad

So basically, it took about 17 seconds from the debugger loading until my 
"FinishedLaunching" got called. The executable is not small - around 35MB in 
debug - is this half the problem? Am I hitting the limits of what can be 
debugged due to iPhone limitations?

Dino

-----Original Message-----
From: Rolf Bjarne Kvinge [mailto:[email protected]] 
Sent: Wednesday, May 30, 2012 5:21
To: Dean Cleaver
Cc: [email protected]
Subject: Re: [MonoTouch] Speeding up startup

Hi,

On Wed, May 30, 2012 at 1:57 AM, Dean Cleaver 
<[email protected]> wrote:
> Hey,
>
>
>
> What can I look at to improve start time, because it's getting to the 
> point where a debug built attached to the debugger will not start 
> quick enough, and the iPhone kills it. Very frustrating when I need to 
> debug something, and just cant.
>
>
>
> Not in debug mode, it starts pretty quick (3-4 seconds) but 90% of the 
> time I struggle to get it to start with the debugger - anything I can 
> do to improve that?

Try switching between wifi and usb debugging. In my own experience wifi is 
significantly faster than usb, but that might depend on your network (so usb 
might be faster than wifi if your wifi is slow).

Another thing that *might* be a slowdown is if you have *many* breakpoints set. 
Try clearing them to see if anything changes (I doubt it, but it's worth a shot 
:)

Rolf
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to