Exemplo n.º 1
0
void DebuggerDBG::addWatch(const QString& expression)
{
  m_wathcesList.append(expression);

  if(isRunning())
  {
    m_net->requestWatch(expression, m_currentExecutionPointID);
  }
  else
  {
    updateWatch(QString::null, expression);
  }
}
Exemplo n.º 2
0
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);
  }
}
Exemplo n.º 3
0
void DocumentWatcher::resumeWatch(Document* document)
{
	m_documents[document].ignored = false;
	updateWatch(document);
}