From bb35cb2c6e68808b2eb031de2c4ba008f7862e2a Mon Sep 17 00:00:00 2001 From: Konstantin Ulitin Date: Mon, 21 Nov 2016 19:18:02 +0300 Subject: [PATCH] WEB-24297 fix "Smart step into" in JS --- .../src/com/intellij/xdebugger/impl/XDebugSessionImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java index 7f06336ea8bf..3a341bd80d1d 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java @@ -507,8 +507,8 @@ public class XDebugSessionImpl implements XDebugSession { public void smartStepInto(XSmartStepIntoHandler handler, V variant) { if (!myDebugProcess.checkCanPerformCommands()) return; - doResume(); - handler.startStepInto(variant); + final XSuspendContext context = doResume(); + handler.startStepInto(variant, context); } @Override