Lines Matching refs:Debug
28 // Flags: --expose-debug-as debug
29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
32 // Simple debug event handler which just counts the number of break points hit.
36 if (event == Debug.DebugEvent.Break) {
41 // Add the debug event listener.
42 Debug.setListener(listener);
52 bp1 = Debug.setBreakPoint(f);
57 Debug.disableBreakPoint(bp1);
62 Debug.enableBreakPoint(bp1);
67 bp2 = Debug.setBreakPoint(f);
72 Debug.disableBreakPoint(bp2);
77 Debug.disableBreakPoint(bp1);
82 Debug.enableBreakPoint(bp1);
83 Debug.enableBreakPoint(bp2);
88 Debug.disableBreakPoint(bp1);
93 Debug.debuggerFlags().breakPointsActive.setValue(false);
98 Debug.enableBreakPoint(bp1);
103 Debug.debuggerFlags().breakPointsActive.setValue(true);