Hello,
when I select "debug" in the IDE and run my program then I see the Debug module at the bottom of the screen.
That's OK.
But after some seconds the debugger disconnects.
I have found that the reason is an "ExitApplication" statement that I have in main.Activity_resume
If I remove "ExitApplication" then the debugger runs fine.
What I dont understand is, why my programm continues to run in the emulator even though Main.Activity_resume and "ExitApplication" is executed
Here is the log:
01/13/2013 10:44:57 : Main.Activity_Create start
01/13/2013 10:44:57 : start Activity SelectLanguage....
01/13/2013 10:44:57 : Back in Activity main.
** Activity (main) Resume **
01/13/2013 10:44:57 : Main.Activity_resume start
01/13/2013 10:44:57 :
01/13/2013 10:44:57 : Main.Activity_resume : --> EXIT APPLICATION
** Activity (act_SelectLanguage) Create, isFirst = true **
** Activity (act_SelectLanguage) Resume **
So "Main.Activity_resume" is executed and thus ExitApplication is executed.
But: my app is still runing the emulator...and I can not use the debbuger.
I use B4A V. 2.30
Heinz
when I select "debug" in the IDE and run my program then I see the Debug module at the bottom of the screen.
That's OK.
But after some seconds the debugger disconnects.
I have found that the reason is an "ExitApplication" statement that I have in main.Activity_resume
If I remove "ExitApplication" then the debugger runs fine.
What I dont understand is, why my programm continues to run in the emulator even though Main.Activity_resume and "ExitApplication" is executed
Here is the log:
01/13/2013 10:44:57 : Main.Activity_Create start
01/13/2013 10:44:57 : start Activity SelectLanguage....
01/13/2013 10:44:57 : Back in Activity main.
** Activity (main) Resume **
01/13/2013 10:44:57 : Main.Activity_resume start
01/13/2013 10:44:57 :
01/13/2013 10:44:57 : Main.Activity_resume : --> EXIT APPLICATION
** Activity (act_SelectLanguage) Create, isFirst = true **
** Activity (act_SelectLanguage) Resume **
So "Main.Activity_resume" is executed and thus ExitApplication is executed.
But: my app is still runing the emulator...and I can not use the debbuger.
I use B4A V. 2.30
Heinz