问题
I've got Eclipse with ADT installed and running. Debugging is working over both USB and TCP/IP (WiFi) including live breakpoints. I'm a seasoned firmware/software developer, just new to Android/Java, and I'm pretty impressed so far with the development environment.
Basically, everything is fine - except that I cannot formally terminate a debug session. The Terminate button is visible in the Run menu but is greyed out. The Suspend and Disconnect icons are functional, just not Terminate. I've checked on the Debug toolbar too - same situation.
I've searched lots of places but haven't found anything that addresses a "greyed out Terminate button". Any advice?
MORE: I've also tried the "Window / Show View / Console" tip from the help system. The associated screen shot shows a Terminate button in the Console menu bar. However, no such button appears on my screen, neither red nor grey. Meanwhile, the code is running, breakpoints work... so I KNOW it's debugging. I just can't Terminate it!
Thanks!
回答1:
Just Click on the Name of the [Android Application] in the debug perspective and you stop button will be activated.
来源:https://stackoverflow.com/questions/14245281/eclipse-adt-working-but-terminate-button-greyed-out