void DebuggerDBG::addWatch(const QString& expression) { m_wathcesList.append(expression); if(isRunning()) { m_net->requestWatch(expression, m_currentExecutionPointID); } else { updateWatch(QString::null, expression); } }
void DebuggerXD::addWatch(const QString& expression) { m_wathcesList.append(expression); if(isRunning()) { m_net->requestWatch(expression); } else { //build a variable and send it to the manager PHPVariable* var = new PHPVariable(expression); PHPScalarValue* value = new PHPScalarValue(var); var->setValue(value); updateWatch(var); } }
void DocumentWatcher::resumeWatch(Document* document) { m_documents[document].ignored = false; updateWatch(document); }