fixed debug position update for remote files
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Mon, 13 Dec 2010 14:09:08 +0000 (17:09 +0300)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Mon, 13 Dec 2010 14:09:08 +0000 (17:09 +0300)
platform/xdebugger-api/src/com/intellij/xdebugger/XDebugSession.java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java

index 7772766d981639113e98f22b9b8e86d39b1cdf4f..0bdb0a9c08ba0d497d792a58165fa885beec9e58 100644 (file)
@@ -63,8 +63,6 @@ public interface XDebugSession extends AbstractDebuggerSession {
   void pause();
   void resume();
 
-  void showExecutionPoint(XSourcePosition sourcePosition);
-
   void showExecutionPoint();
 
   void setCurrentStackFrame(@NotNull XStackFrame frame);
index e972132174934414db6d1f244b54c3faf3afb139..6f78847669805b980d9e815ee1c8111f0622aebd 100644 (file)
@@ -351,12 +351,6 @@ public class XDebugSessionImpl implements XDebugSession {
     myDebuggerManager.updateExecutionPoint(myCurrentStackFrame.getSourcePosition(), !isTopFrame);
   }
 
-  public void showExecutionPoint(XSourcePosition sourcePosition) {
-    XExecutionStack activeExecutionStack = mySuspendContext.getActiveExecutionStack();
-    boolean isTopFrame = activeExecutionStack != null && activeExecutionStack.getTopFrame() == myCurrentStackFrame;
-    myDebuggerManager.setActiveSession(this, sourcePosition, !isTopFrame);
-  }
-
   public void showExecutionPoint() {
     if (mySuspendContext != null) {
       XExecutionStack executionStack = mySuspendContext.getActiveExecutionStack();