Debugger this! Debugging an Android Service
I recently found out that I couldn’t hit any breakpoints in an Android Service I was developing. I found that this was easily sorted by adding the following line: android.os.Debug.waitForDebugger() This approach was suggested on various websites including StackOverflow and HelloAndroid amongst many. Great. I found out much later than when I ran the code “in the wild” i.e. in a production environment unattached to a debugger, my application was… Read More »Debugger this! Debugging an Android Service