| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 (function (global, utils) { | 5 (function (global, utils) { |
| 6 "use strict"; | 6 "use strict"; |
| 7 | 7 |
| 8 // ---------------------------------------------------------------------------- | 8 // ---------------------------------------------------------------------------- |
| 9 // Imports | 9 // Imports |
| 10 | 10 |
| (...skipping 2583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2594 return json; | 2594 return json; |
| 2595 } | 2595 } |
| 2596 | 2596 |
| 2597 | 2597 |
| 2598 // ------------------------------------------------------------------- | 2598 // ------------------------------------------------------------------- |
| 2599 // Exports | 2599 // Exports |
| 2600 | 2600 |
| 2601 utils.InstallConstants(global, [ | 2601 utils.InstallConstants(global, [ |
| 2602 "Debug", Debug, | 2602 "Debug", Debug, |
| 2603 "DebugCommandProcessor", DebugCommandProcessor, | 2603 "DebugCommandProcessor", DebugCommandProcessor, |
| 2604 "BreakEvent", BreakEvent, |
| 2605 "CompileEvent", CompileEvent, |
| 2606 "BreakPoint", BreakPoint, |
| 2604 ]); | 2607 ]); |
| 2605 | 2608 |
| 2606 // Functions needed by the debugger runtime. | 2609 // Functions needed by the debugger runtime. |
| 2607 utils.InstallFunctions(utils, DONT_ENUM, [ | 2610 utils.InstallFunctions(utils, DONT_ENUM, [ |
| 2608 "MakeExecutionState", MakeExecutionState, | 2611 "MakeExecutionState", MakeExecutionState, |
| 2609 "MakeExceptionEvent", MakeExceptionEvent, | 2612 "MakeExceptionEvent", MakeExceptionEvent, |
| 2610 "MakeBreakEvent", MakeBreakEvent, | 2613 "MakeBreakEvent", MakeBreakEvent, |
| 2611 "MakeCompileEvent", MakeCompileEvent, | 2614 "MakeCompileEvent", MakeCompileEvent, |
| 2612 "MakePromiseEvent", MakePromiseEvent, | 2615 "MakePromiseEvent", MakePromiseEvent, |
| 2613 "MakeAsyncTaskEvent", MakeAsyncTaskEvent, | 2616 "MakeAsyncTaskEvent", MakeAsyncTaskEvent, |
| 2614 "IsBreakPointTriggered", IsBreakPointTriggered, | 2617 "IsBreakPointTriggered", IsBreakPointTriggered, |
| 2615 "UpdateScriptBreakPoints", UpdateScriptBreakPoints, | 2618 "UpdateScriptBreakPoints", UpdateScriptBreakPoints, |
| 2616 ]); | 2619 ]); |
| 2617 | 2620 |
| 2618 // Export to liveedit.js | 2621 // Export to liveedit.js |
| 2619 utils.Export(function(to) { | 2622 utils.Export(function(to) { |
| 2620 to.GetScriptBreakPoints = GetScriptBreakPoints; | 2623 to.GetScriptBreakPoints = GetScriptBreakPoints; |
| 2621 }); | 2624 }); |
| 2622 | 2625 |
| 2623 }) | 2626 }) |
| OLD | NEW |