| 651 | } |
| 652 | |
| 653 | void MIDebugSession::interruptDebugger() |
| 654 | { |
| 655 | Q_ASSERT(m_debugger); |
| 656 | |
| 657 | // Explicitly send the interrupt in case something went wrong with the usual |
| 658 | // ensureGdbListening logic. |
| 659 | m_debugger->interrupt(); |
| 660 | addCommand(ExecInterrupt, QString(), CmdInterrupt); |
| 661 | } |
| 662 | |
| 663 | void MIDebugSession::run() |
| 664 | { |