Steps to reproduce (tested on kubuntu 16.04):
- Set some breakpoint
- Run debug
- Close Memory View
- KDevelop crashed
Or simply run debug without breakpoint and get "hang-up" of KDevelop at the end of debug session.
The problem of crash was in incorrect memory operations - MemoryViewerWidget class creates MemoryView objects and sets them QObject* parent to self. This leads to situation when connected MemoryViewerWidget::slotChildDestroyed method is called after finish of MemoryViewerWidget destructor.