Skip to content
Commit d68e4a3d authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Implement virtual DebugSession::killDebuggerNow()

https://commits.kde.org/kdevelop/37ff587ebe2a2c355d71cb583fb5f058c5301ff3
introduced a pure virtual IDebugSession::killDebuggerNow() member
function. DebugSession must override it to become non-abstract and fix
the following compilation error (GCC):
  invalid new-expression of abstract class type ‘XDebug::DebugSession’

DebugSession::killDebuggerNow() mimics the implementation of
DebugSession::stopDebugger().

As far as I can tell, the following events happen synchronously when
Connection::close() is called: &QTcpSocket::disconnected, then
&Connection::closed signals are emitted,
DebugSession::connectionClosed() switches to EndedState, and so
KDevelop::DebugController has a chance to schedule the DebugSession's
deletion.
parent cb3b8ffc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment