Package org.eclipse.php.debug.core.debugger.handlers

Examples of org.eclipse.php.debug.core.debugger.handlers.IDebugMessageHandler


    return administrator;
  }

  private IDebugMessageHandler createMessageHandler(IDebugMessage message) {
    if (!messageHandlers.containsKey(message.getType())) {
      IDebugMessageHandler requestHandler = DebugMessagesRegistry
          .getHandler(message);
      messageHandlers.put(message.getType(), requestHandler);
    }
    return messageHandlers.get(message.getType());
  }
View Full Code Here


              // creation of debug session has succeeded
              if (debugTarget != null) {

                // try to find relevant handler for the message:
                IDebugMessageHandler messageHandler = createMessageHandler(newInputMessage);

                if (messageHandler != null) {
                  if (PHPDebugPlugin.DEBUG) {
                    System.out
                        .println("Creating message handler: " //$NON-NLS-1$
                            + messageHandler
                                .getClass()
                                .getName()
                                .replaceFirst(
                                    ".*\\.", //$NON-NLS-1$
                                    "")); //$NON-NLS-1$
                  }
                  // handle the request
                  messageHandler.handle(newInputMessage,
                      debugTarget);

                  if (messageHandler instanceof IDebugRequestHandler) {
                    // create response
                    IDebugResponseMessage response = ((IDebugRequestHandler) messageHandler)
View Full Code Here

TOP

Related Classes of org.eclipse.php.debug.core.debugger.handlers.IDebugMessageHandler

Copyright © 2018 www.massapicom. 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.