Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-Medium

New issue 3717 by [email protected]: Eager compilation breaks setting break points
https://code.google.com/p/v8/issues/detail?id=3717

// Flags: --expose-debug-as debug --nolazy

Debug = debug.Debug

function fun() {
  function g(p) {
    return 1;
  }
  g(1);
};

function listener(event, exec_state, event_data, data) {
  try {
    if (event == Debug.DebugEvent.Break) {
      print("Break point");
    }
  } catch (e) {
    exception = e
  }
}

Debug.setListener(listener);
var bp = Debug.setBreakPoint(fun, 2);
fun();
Debug.clearBreakPoint(bp);
Debug.setListener(null);


Expected: "Break point" is printed.
Found: nothing is printed.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to