test/debugger/debug/wasm/debug-step-into-wasm.js
// In the second execution, only break at javascript frame.
In the second execution, only break at javascript frame.
In the second execution only break at javascript frame .
function listener2(event, exec_state, event_data, data) {
  if (event != Debug.DebugEvent.Break) return;
  try {
    print(event_data.sourceLineText());
    if (event_data.sourceLineText() == 'Debug.setListener(null);') {
      return;
    }
    print(event_data.functionName());
    assertTrue(event_data.sourceLineText().indexOf(`Line `) > 0);
    assertEquals(event_data.functionName(), 'f');
    break_count2++;
    exec_state.prepareStep(Debug.StepAction.StepOut);
  } catch (e) {
    exception = e;
    print(e);
  }
}
function listener2 ( event , exec_state , event_data , data ) { if ( event != Debug . DebugEvent . Break ) return ; try { print ( event_data . sourceLineText ( ) ) ; if ( event_data . sourceLineText ( ) == 'Debug.setListener(null);' ) { return ; } print ( event_data . functionName ( ) ) ; assertTrue ( event_data . sourceLineText ( ) . indexOf ( ` ` ) > 0 ) ; assertEquals ( event_data . functionName ( ) , 'f' ) ; break_count2 ++ ; exec_state . prepareStep ( Debug . StepAction . StepOut ) ; } catch ( e ) { exception = e ; print ( e ) ; } }
In the second execution, only break at javascript frame.
In the second execution only break at javascript frame .