Stop process from with in eclipse
<p>Android 2.3.3
Eclipse Indigo with <code>ADT</code> Plugin 14</p>

<p>I am using Eclipse Indigo with <code>ADT Plugin 14</code>. I am running the application in mobile not in the emulator. </p>

<p>My question is, is there a way to stop the process from within the eclipse, so that when there is a force close or when the logic is flawed and the control enters an infinite loop, we get to see where the problem lies. </p>

<p>Right now, when the control enters an infinite loop, it's hard to analyze where the problem is, because i have to go to <code>setting-&gt;applications-&gt;manage applications-&gt;search</code> for the app, then say force stop. By this time, the control must have looped atleast a hundred times and logcat is all the same.</p>

<p>If i could stop it from eclipse, when i know there is an infinite loop coming, i would just stop it and i would have a very decent chance of finding where the problem is.</p>
