reregistering exceptions removed
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Tue, 21 Dec 2010 16:28:38 +0000 (19:28 +0300)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Tue, 21 Dec 2010 16:28:38 +0000 (19:28 +0300)
platform/xdebugger-api/src/com/intellij/xdebugger/XDebugSession.java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java

index 4f606dedd7a01ec80cb225bf7dea8e2eb03e14d1..0bdb0a9c08ba0d497d792a58165fa885beec9e58 100644 (file)
@@ -130,5 +130,5 @@ public interface XDebugSession extends AbstractDebuggerSession {
 
   <V extends XSmartStepIntoVariant> void smartStepInto(XSmartStepIntoHandler<V> handler, V variant);
 
-  void updateExecutionPosition(boolean updateBreakpoints);
+  void updateExecutionPosition();
 }
index 633ad0165fb794ff6ade3cca2512d7043007f883..b9124eb339f128e82b0274945ab136e247c57f86 100644 (file)
@@ -354,20 +354,10 @@ public class XDebugSessionImpl implements XDebugSession {
   }
 
   @Override
-  /**
-   * Causes the same effect as #positionReached, but without changing context,
-   * only updating position highlighting and re-enabling exceptions
-   */
-  public void updateExecutionPosition(boolean updateBreakpoints) {
+  public void updateExecutionPosition() {
     XExecutionStack activeExecutionStack = mySuspendContext.getActiveExecutionStack();
     boolean isTopFrame = activeExecutionStack != null && activeExecutionStack.getTopFrame() == myCurrentStackFrame;
     myDebuggerManager.updateExecutionPoint(myCurrentStackFrame.getSourcePosition(), !isTopFrame);
-
-
-    if (updateBreakpoints) {
-      disableBreakpoints();
-      enableBreakpoints();
-    }
   }