virtual void continueInferior() = 0;
virtual void interruptInferior() = 0;
+ virtual void shutdownInferior() = 0;
virtual void activateFrame(int index) = 0;
void QmlEngine::shutdownInferior()
{
+ d->m_adapter.activeDebuggerClient()->shutdownInferior();
+
if (isSlaveEngine()) {
resetLocation();
}
stopApplicationLauncher();
+
notifyInferiorShutdownOk();
}
{
logMessage(LogSend, "INTERRUPT");
d->m_adapter.activeDebuggerClient()->interruptInferior();
-
+ notifyInferiorStopOk();
}
void QmlEngine::executeStep()
{
if (state() == InferiorRunOk)
notifyInferiorSpontaneousStop();
- else
- notifyInferiorStopOk();
}
void QmlEngine::disconnected()
}
+void QmlV8DebuggerClient::shutdownInferior()
+{
+ QByteArray request;
+
+ JsonInputStream(request) << '{' << INITIALPARAMS ;
+ JsonInputStream(request) << ',' << "command" << ':' << "disconnect";
+
+ JsonInputStream(request) << '}';
+
+ sendMessage(packMessage(request));
+}
+
void QmlV8DebuggerClient::activateFrame(int index)
{
setLocals(index);
void continueInferior();
void interruptInferior();
+ void shutdownInferior();
void activateFrame(int index);
sendMessage(reply);
}
+void QScriptDebuggerClient::shutdownInferior()
+{
+
+}
+
void QScriptDebuggerClient::activateFrame(int index)
{
QByteArray reply;
void continueInferior();
void interruptInferior();
+ void shutdownInferior();
void activateFrame(int index);