WI-4722 Debugger: Ability to skip certain functions with step into.

This commit is contained in:
Andrey Sokolov
2014-05-13 15:19:24 +04:00
parent b63b70364f
commit e2ceeeceea
2 changed files with 14 additions and 1 deletions
@@ -94,6 +94,16 @@ public abstract class XDebugProcess {
*/
public abstract void startStepOver();
/**
* Steps into suppressed call
*
* Resume execution and call {@link XDebugSession#positionReached}
* when next line is reached.
* Do not call this method directly. Use {@link XDebugSession#forceStepInto} instead
*/
public void startForceStepInto(){
startStepInto();
}
/**
* Resume execution and call {@link XDebugSession#positionReached}
* when next line is reached.
@@ -458,7 +458,10 @@ public class XDebugSessionImpl implements XDebugSession {
@Override
public void forceStepInto() {
stepInto();
if (!myDebugProcess.checkCanPerformCommands()) return;
doResume();
myDebugProcess.startForceStepInto();
}
@Override