Software Archive
Read-only legacy content
17061 Discussions

How do I Kill XDK?

Thomas_V_1
Beginner
738 Views

Hi,

I have a bad loop that blocks XDK. I tried to insert alert, and stop() but it does not work. XDK freezes and closing does not work. I tried to kill it with command line kill -9 xdkpid. The process reapers. How do I kill XDK on Linux? 

0 Kudos
3 Replies
Amrita_C_Intel
Employee
738 Views

Hello,

Try pkill or killall command!

0 Kudos
PaulF_IntelCorp
Employee
738 Views

There are also may be some node-webkit processes you need to kill (nw). But if you mean the problem comes back when you restart the XDK, if you kill the XDK it should startup with a "safe restart" message, in which case you should take the "safe restart" option so you can switch away from the Emulate tab (which is where I presume you were located when you got the hang due to a bad loop). Then you can go into your code an change whatever is ailing your app and try it again.

0 Kudos
Thomas_V_1
Beginner
738 Views

Thanks. 

I solved my problem but then I started to put corrupt values in localstorage to test the robustness of my app. The xdk managed to crash my computer(only once) and I use xubuntu. My computer have not crashed for years.

'killall nw' works to close xdk. 

Thanks again for the help. 

0 Kudos
Reply