added re-registering exceptions after changing of path mappings (PY-2450)
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Mon, 13 Dec 2010 17:28:51 +0000 (20:28 +0300)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Mon, 13 Dec 2010 17:28:51 +0000 (20:28 +0300)
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java

index 6f78847669805b980d9e815ee1c8111f0622aebd..fdb673cf755ff85e22ddd18972f93558608dda9b 100644 (file)
@@ -345,10 +345,18 @@ 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() {
     XExecutionStack activeExecutionStack = mySuspendContext.getActiveExecutionStack();
     boolean isTopFrame = activeExecutionStack != null && activeExecutionStack.getTopFrame() == myCurrentStackFrame;
     myDebuggerManager.updateExecutionPoint(myCurrentStackFrame.getSourcePosition(), !isTopFrame);
+
+
+    disableBreakpoints();
+    enableBreakpoints();
   }
 
   public void showExecutionPoint() {