// 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)