Hi,

Manually killing (double tap home, etc...) doesn't make a difference.

Thanks for the upload tip, actually only discovered it a few days ago.

Any help in resolving this would be greatly appreciated as it has
really slowed down my debugging process.

Sent from mobile device. Please excuse brevity & errors.

On 29/09/2011, at 7:19 AM, Rolf Bjarne Kvinge <[email protected]> wrote:

> Hi,
>
> Can you try killing the application on the device manually when it
> doesn't want to work?
>
> So that you do it it this order:
> Kill application manually
> Start debugging in MonoDevelop
> Run application on device.
>
> Does that fix it? As a sidenote you can also manually force an upload
> in MonoDevelop (Main Menu -> Run -> Upload to Device), no need to
> rebuild every time.
>
> Rolf
>
> On Tue, Sep 27, 2011 at 10:18 AM, dermotos <[email protected]> wrote:
>> Hi,
>>
>> The output from the device console when it wont connect is:
>>
>>
>>
>> Sep 27 18:13:39 Dermots-iPhone kernel[0] <Debug>: launchd[10585] Builtin
>> profile: container (sandbox)
>>
>>
>> Sep 27 18:13:39 Dermots-iPhone kernel[0] <Debug>: launchd[10585] Container:
>> /private/var/mobile/Applications/F87BBE11-1BF6-4DFB-9967-3FCE3BDB541F [69]
>> (sandbox)
>>
>>
>> Sep 27 18:13:42 Dermots-iPhone UIKitApplication:apollo[0xcc6a][10585]
>> <Notice>: Listened for connections from MonoDevelop for 2 seconds, nobody
>> connected.
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone Apollo[10585] <Error>: fixing permissions on
>> /var/mobile/Media/iTunes_Control/iTunes/iTunes Library.itlp/Library.itdb
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone Apollo[10585] <Error>: error Operation not
>> permitted setting permissions on
>> /var/mobile/Media/iTunes_Control/iTunes/iTunes Library.itlp/Library.itdb
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone sandboxd[10587] <Notice>: Apollo(10585) deny
>> file-write-mode /private/var/mobile/Media/iTunes_Control/iTunes/iTunes
>> Library.itlp/Library.itdb
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone sandboxd[10587] <Notice>: Apollo(10585) deny
>> file-write-data /private/var/mobile/Media/iTunes_Control/iTunes/iTunes
>> Library.itlp/Library.itdb
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone sandboxd[10587] <Notice>: Apollo(10585) deny
>> file-write-data /private/var/mobile/Media/iTunes_Control/iTunes/iTunes
>> Library.itlp/Dynamic.itdb
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone sandboxd[10587] <Notice>: Apollo(10585) deny
>> file-write-data /private/var/mobile/Media/iTunes_Control/iTunes/iTunes
>> Library.itlp/Extras.itdb
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone sandboxd[10587] <Notice>: Apollo(10585) deny
>> file-write-data /private/var/mobile/Media/iTunes_Control/iTunes/iTunes
>> Library.itlp/DBTemp/ddd.itdbm
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone UIKitApplication:apollo[0xcc6a][10585]
>> <Notice>: CPSqliteStatementPerform: attempt to write a readonly database for
>> UPDATE ddd.ext_container SET orig_date_modified = (SELECT date_modified FROM
>> container WHERE pid=container_pid) WHERE orig_date_modified=0
>>
>>
>> Sep 27 18:13:45 Dermots-iPhone UIKitApplication:apollo[0xcc6a][10585]
>> <Notice>: CPSqliteStatementReset: attempt to write a readonly database for
>> UPDATE ddd.ext_container SET orig_date_modified = (SELECT date_modified FROM
>> container WHERE pid=container_pid) WHERE orig_date_modified=0
>>
>>
>>
>>
>> Meanwhile the "Waiting for debugger to connect" message remains displayed on
>> monodevelop. The app still starts up (vibrating once to signal it isnt
>> connected to debugger). It takes a normal amount of time to start.
>> Sometimes, it does connect, but can take an extra 5-10 seconds for the
>> "waiting for debugger to connect" dialog to disappear and the app to start.
>> Sometimes this is too long and iOS kills the process. Sometimes I do a build
>> and deploy, and it wont connect, and have to do another build and deploy and
>> cross my fingers!
>>
>> It happens with all my devices (iPad 1, 2 iPhone 4's, iPhone 3gs)
>>
>>
>> --
>> View this message in context: 
>> http://monotouch.2284126.n4.nabble.com/New-Debug-over-USB-very-buggy-tp3840728p3846463.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> [email protected]
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to