My actions:
1. I'm starting shell script that kills app on Android and starts it.
a. Receiving PID of app's process.
b. Starting gdbserver on android, attaching it to received PID.
2. Starting remote debugging in C::B. To this moment app's is already in paused state. When i did first times - there was no pause. It appears when i tried to set breakpoints in C::B and then i remoed all breakpoints.
As you see it take pretty much of time, when breakpoint in "main" is missed already.
I'm planning to set eternal loop in the very begining. Something like this:
int i = 0;
while (i == 0)
{
};
Then i'll write in "Additional GDB commands->After connection" set var i = 1.