use of org.eclipse.che.plugin.zdb.server.connection.ZendDbgClientMessages.DeleteBreakpointRequest in project che by eclipse.
the class ZendDebugger method handleReady.
private void handleReady(ReadyNotification notification) {
String remoteFilePath = notification.getFileName();
if (breakpointAflId != null && remoteFilePath.equals(debugStartFile)) {
debugConnection.sendRequest(new DeleteBreakpointRequest(breakpointAflId));
breakpointAflId = null;
}
int lineNumber = notification.getLineNumber();
Location dbgLocation = ZendDbgLocationHandler.createDBG(remoteFilePath, lineNumber);
// Convert DBG location from engine to VFS location
Location vfsLocation = debugLocationHandler.convertToVFS(dbgLocation);
// Send suspend event
debugCallback.onEvent(new SuspendEventImpl(vfsLocation));
}
Aggregations