I am trying to write my first Linux application using Qt Creator. Sometimes, during debugging, I am writing code that causes my application to go in some kind of endless loop.
This causes my KDE session to freeze. It seems to be impossible to stop/pause the process using the debugger or by any other means. After some minutes the desktop session is terminated automatically which prevents restarting the entire PC.
So how can I debug a process that goes wild under Linux? Why does it block the entire desktop and Qt Creator IDE and how can I prevent this from happening?