Android Question rapid debug crashes camera

Discussion in 'Android Questions' started by clydebamford, May 29, 2015.

  1. clydebamford

    clydebamford Member Licensed User

    Is there a way to run a command/script before the debugger restarts the code?
    Unless i release the camera politely it crashes necessitating an android restart?
    At the moment i try to remember to release it first by backing out of the activity that's controlling it but more often than not i get so wound up that If orget!
    (thanks in advance and apologies if its covered elsewhere)
    PS Just Love b4a, still cant believe erel wrote it for me!
  2. Erel

    Erel Administrator Staff Member Licensed User

    It is not possible. The process is killed immediately. You will need to make sure to close the activity and wait a few seconds before you stop the debugger.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice