Changeset 260113 in webkit for trunk/Source/JavaScriptCore/debugger/Debugger.cpp
- Timestamp:
- Apr 14, 2020, 7:35:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/debugger/Debugger.cpp
r255887 r260113 610 610 } 611 611 612 void Debugger::stepNextExpression() 613 { 614 if (!m_isPaused) 615 return; 616 617 m_pauseOnCallFrame = m_currentCallFrame; 618 m_pauseOnStepNext = true; 619 setSteppingMode(SteppingModeEnabled); 620 notifyDoneProcessingDebuggerEvents(); 621 } 622 612 623 void Debugger::stepIntoStatement() 613 624 { … … 804 815 } 805 816 806 // Only pause at the next expression with step-in and step-out, not step-over.807 bool shouldAttemptPause = m_pauseAtNextOpportunity || m_pauseOnStep Out;817 // Only pause at the next expression with step-in, step-next, and step-out. 818 bool shouldAttemptPause = m_pauseAtNextOpportunity || m_pauseOnStepNext || m_pauseOnStepOut; 808 819 809 820 PauseReasonDeclaration reason(*this, PausedAtExpression); … … 911 922 m_pauseOnCallFrame = nullptr; 912 923 m_pauseAtNextOpportunity = false; 924 m_pauseOnStepNext = false; 913 925 m_pauseOnStepOut = false; 914 926 m_afterBlackboxedScript = false;
Note:
See TracChangeset
for help on using the changeset viewer.