I've spent a long time trying to figure out how to get debugging to work in Eclipse, so I can set up breakpoints and step through things. I'm so frustrated I want to headbutt my MacBook pro. I decided to try posting here again.
The basic issue is that if I try to do a "debug" build within Eclipse by going to Run -> Debug, it doesn't end up building it as a debug build. It instead tries to set it up as a release build, so DBG() doesn't end up defined as anything.
The solution advanced on this forum is to go to the terminal and build using "ant debug" and "ant release" instead. That's fine, but once I do that, then what? How do I run the program on the Android tablet, and then hook that into the debugger in Eclipse? How do I set up breakpoints and step through my code?
I've tried looking at a LOT of things, particularly right-clicking the build.xml file in Eclipse and doing "Ant Build..." and tweaking the infinitude of settings present, but I can't seem to find the magic workflow. If I do ant debug and then try to Debug again in Eclipse, it rebuilds it as a non-debug build, which is insane.
What is the full workflow that people are using and where does Eclipse fit into it?