[Mono-bugs] [Bug 650982] Support debugging over USB

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 21 02:59:23 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=650982

https://bugzilla.novell.com/show_bug.cgi?id=650982#c2


Carlos Alberto Cortez <calberto.cortez at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |calberto.cortez at gmail.com

--- Comment #2 from Carlos Alberto Cortez <calberto.cortez at gmail.com> 2011-02-21 07:59:22 UTC ---
[Posting again, as it seems my comment here some days ago didn't make it :\)

Regarding killing activities:

It's not possible to straightforward use 'kill' to stop the activities -since
it's only working on the emulator, but not on the actual devices, as a
permission error is reported-, nor *any* command line tool to force them to
stop.

Eclipse is actually stopping them when debugging, but it seems they are using a
special helper mechanism/hook.

For the track: kangaroo mentioned they may be using jwdp to kill it, mentioning
this from the reference: "Changing either the application being debugged or the
"Wait for debugger" option causes the system to kill the selected application
if it is currently running. You can use this to kill your application if it is
in a bad state by simply going to the settings and toggling the checkbox."

Other options include jpobst's suggestion to make our runtime listen for a
broadcasted intent, and mhutch's idea of adding a secret activity to every app
built in debug mode that kills the app when run.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list