I am building an app and it hangs on some thread . how can i kill that app ?
tried ctrl+c but it didn't work (the icon stays in the notification area)
thanks
I am building an app and it hangs on some thread . how can i kill that app ?
tried ctrl+c but it didn't work (the icon stays in the notification area)
thanks
Try to kill it via the process list:
Or - if you want to be more nerdy - kill it via the console, using
$>top
If you know the name of your process,
grep
againstps
to get the PID (process ID). Example: If I wanted to stop shotwell, I would do this (from a terminal session):The first process listed is the one I want (in this example), and the first number listed is the PID. You can also see that the command I just ran is listed in there, too.
Now that I have my PID (1779), I can stop the process with this command:
I suggest that you enter
That will suspend the process and tell you its job number.
then:
if its job number is 1. After you press enter the first time it will mention that [1] is stopped. The next time you press enter it will tell you it is killed or terminated.