title: Spyder + Python 3.5 - how to debug kernel died, restarting?
body: <p>I am working for the first time towards the implementation of a very simple GUI in <code>PyQt5</code>, which embeds a <code>matplotlib</code> plot and few buttons for interaction.</p>
  
  <p>I do not really know how to work with classes so I'm making a lot of mistakes, i.e. even if the functionality is simple, I have to iterate a lot between small corrections and verification.</p>
  
  <p>For some reason I would like to debug, however, the whole process is made much, much slower by the fact that at any other try, the python kernel dies and it needs restarting (all done automatically) several times.</p>
  
  <p>That is, every time I try something that should last maybe 5 secs, I end up spending a minute.</p>
  
  <p>Anybody know where to look to spot what is causing these constant death/rebirth circles?</p>
  
  <p>I have been using <code>spyder</code> for some time now and I never experienced this behaviour before, so I'm drawn to think it might have to do with <code>PyQt</code>, but that's about how far I can go.</p>