Toggle navigation
Home
org.eclipse.che.api.debug.shared.model.Location to org.eclipse.che.api.debug.shared.dto.event.SuspendEventDto
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'che'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
promise.then(debugSessionDto -> { debuggerManager.setActiveDebugger(AbstractDebugger.this); setDebugSession(debugSessionDto); DebuggerInfo debuggerInfo=debugSessionDto.getDebuggerInfo(); String info=debuggerInfo.getName() + " " + debuggerInfo.getVersion(); String address=debuggerInfo.getHost() + ":" + debuggerInfo.getPort(); DebuggerDescriptor debuggerDescriptor=new DebuggerDescriptor(info,address); for ( DebuggerObserver observer : observers) { observer.onDebuggerAttached(debuggerDescriptor); } for ( BreakpointDto breakpoint : debugSessionDto.getBreakpoints()) { onBreakpointActivated(breakpoint.getLocation()); } if (currentLocation != null) { debuggerLocationHandlerManager.getOrDefault(currentLocation).find(currentLocation,new AsyncCallback<VirtualFile>(){ @Override public void onFailure( Throwable caught){ for ( DebuggerObserver observer : observers) { observer.onBreakpointStopped(currentLocation.getTarget(),currentLocation); } } @Override public void onSuccess( VirtualFile result){ for ( DebuggerObserver observer : observers) { observer.onBreakpointStopped(result.getLocation().toString(),currentLocation); } } } ); } startCheckingEvents(); } )
to
promise.then(debugSessionDto -> { debuggerManager.setActiveDebugger(AbstractDebugger.this); setDebugSession(debugSessionDto); DebuggerInfo debuggerInfo=debugSessionDto.getDebuggerInfo(); String info=debuggerInfo.getName() + " " + debuggerInfo.getVersion(); String address=debuggerInfo.getHost() + ":" + debuggerInfo.getPort(); DebuggerDescriptor debuggerDescriptor=new DebuggerDescriptor(info,address); for ( DebuggerObserver observer : observers) { observer.onDebuggerAttached(debuggerDescriptor); } for ( BreakpointDto breakpoint : debugSessionDto.getBreakpoints()) { onBreakpointActivated(breakpoint.getLocation()); } if (suspendEventDto != null) { debuggerLocationHandlerManager.getOrDefault(suspendEventDto.getLocation()).find(suspendEventDto.getLocation(),new AsyncCallback<VirtualFile>(){ @Override public void onFailure( Throwable caught){ for ( DebuggerObserver observer : observers) { observer.onBreakpointStopped(suspendEventDto.getLocation().getTarget(),suspendEventDto.getLocation()); } } @Override public void onSuccess( VirtualFile result){ for ( DebuggerObserver observer : observers) { observer.onBreakpointStopped(result.getLocation().toString(),suspendEventDto.getLocation()); } } } ); } startCheckingEvents(); } )
currentLocation
to
suspendEventDto.getLocation()
Rename Variable
currentLocation
to
suspendEventDto
currentLocation
to
suspendEventDto
currentLocation
to
suspendEventDto
currentLocation
to
suspendEventDto
currentLocation
to
suspendEventDto
currentLocation
to
suspendEventDto
currentLocation
to
suspendEventDto
Cascading Type Change (Different)
LocationDto
to
SuspendEventDto