Android sending SIGABRT when debugger is attached

I recently encountered an incredibly annoying behaviour by Android that my app that's being debugged just gets killed.

Logcat only gives this useless message:

A/libc: Fatal signal 6 (SIGABRT) at 0x00000274 (code=0), thread 25754 (getapp.debug)

Turns out that one has to suspend all threads on breakpoints if …

I recently encountered an incredibly annoying behaviour by Android that my app that's being debugged just gets killed.

Logcat only gives this useless message:

A/libc: Fatal signal 6 (SIGABRT) at 0x00000274 (code=0), thread 25754 (getapp.debug)

Turns out that one has to suspend all threads on breakpoints if you don't want that behaviour.