Examples of DebuggerEvent


Examples of org.erlide.backend.debug.events.DebuggerEvent

            }
        }
    }

    private void handleMessage(final OtpErlangObject message) throws DebugException {
        final DebuggerEvent event = DebuggerEventFactory.parse(message);
        event.execute(debugTarget);
    }
View Full Code Here

Examples of org.openbp.core.engine.debugger.DebuggerEvent

    {
      if (maxStepCount != 0)
      {
        // Run control flow animation and
        // execute a step next command after the animation has finished
        DebuggerEvent de = dse.getDebuggerEvent();

        // Scroll the flow connection into view; however don't add enlargment offset
        scrollIntoView(de.getControlLinkQualifier(), false);

        new AnimationThread(de.getControlLinkQualifier(), true);
      }
      else
      {
        // Execute a step next command right away
        fireEvent(new JaspiraActionEvent(DebuggerPlugin.this, "debugger.client.stepnext", LEVEL_APPLICATION));
View Full Code Here

Examples of org.openbp.core.engine.debugger.DebuggerEvent

     * @param dse Event
     * @return The event status code
     */
    public JaspiraEventHandlerCode dataflow(DebuggerServerEvent dse)
    {
      DebuggerEvent de = dse.getDebuggerEvent();
      ModelQualifier pos = dse.getHaltedPosition();

      if (ViewModeMgr.getInstance().isDataLinkVisible())
      {
        setHaltedPosition(new ModelQualifier(pos));
      }

      // Run data flow animation if we should (i. e. if allowed by cockpit settings
      // and if the data flow lines are visible at all).
      // After the animation finishes, a step next command will be issued.
      if (maxStepCount != 0 && ViewModeMgr.getInstance().isDataLinkVisible())
      {
        // Scroll the flow connection into view; however don't add enlargment offset
        scrollIntoView(de.getDataLinkQualifier(), false);

        new AnimationThread(de.getDataLinkQualifier(), false);
      }
      else
      {
        // No data flow animation, proceed directly by sending a step next event
        fireEvent(new JaspiraActionEvent(DebuggerPlugin.this, "debugger.client.stepnext", LEVEL_APPLICATION));
View Full Code Here

Examples of org.openbp.core.engine.debugger.DebuggerEvent

    {
      while (pollerActive)
      {
        try
        {
          DebuggerEvent event = getDebugger().getEvent(clientId);

          if (event != null)
          {
            // We have an event, we wrap it into a JaspiraEvent.
            stopPoller();
View Full Code Here

Examples of org.openbp.core.engine.debugger.DebuggerEvent

   * @param haltedPosition Current position of halted process
   * @return The new event object
   */
  public DebuggerEvent createDebuggerEvent(ModelQualifier haltedPosition)
  {
    DebuggerEvent de = new DebuggerEvent();

    de.setEventType(eventType);

    de.setException(exception);
    if (exception != null)
    {
      de.setExceptionString(ExceptionUtil.getNestedTrace(exception));
    }

    if (controlLink != null)
      de.setControlLinkQualifier(controlLink.getQualifier());
    if (dataLink != null)
      de.setDataLinkQualifier(dataLink.getQualifier());

    if (sourceSocket != null)
      de.setSourceSocketQualifier(sourceSocket.getQualifier());
    if (targetSocket != null)
      de.setTargetSocketQualifier(targetSocket.getQualifier());

    if (sourceParam != null)
      de.setSourceParamName(sourceParam.getQualifier());
    de.setSourceMemberPath(sourceMemberPath);
    if (targetParam != null)
      de.setTargetParamName(targetParam.getQualifier());
    de.setTargetMemberPath(targetMemberPath);

    if (paramValue != null)
    {
      de.setParamValueString(paramValue.toString());
    }

    de.setHaltedPosition(haltedPosition);

    return de;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.