| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 void DebugRequest(const uint16_t* json_request, int length); | 786 void DebugRequest(const uint16_t* json_request, int length); |
| 787 | 787 |
| 788 MUST_USE_RESULT MaybeHandle<Object> MakeJSObject( | 788 MUST_USE_RESULT MaybeHandle<Object> MakeJSObject( |
| 789 Vector<const char> constructor_name, | 789 Vector<const char> constructor_name, |
| 790 int argc, | 790 int argc, |
| 791 Handle<Object> argv[]); | 791 Handle<Object> argv[]); |
| 792 MUST_USE_RESULT MaybeHandle<Object> MakeExecutionState(); | 792 MUST_USE_RESULT MaybeHandle<Object> MakeExecutionState(); |
| 793 MUST_USE_RESULT MaybeHandle<Object> MakeBreakEvent( | 793 MUST_USE_RESULT MaybeHandle<Object> MakeBreakEvent( |
| 794 Handle<Object> break_points_hit); | 794 Handle<Object> break_points_hit); |
| 795 MUST_USE_RESULT MaybeHandle<Object> MakeExceptionEvent( | 795 MUST_USE_RESULT MaybeHandle<Object> MakeExceptionEvent( |
| 796 Handle<Object> exception, bool uncaught); | 796 Handle<Object> exception, |
| 797 bool uncaught, |
| 798 Handle<Object> promise); |
| 797 MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( | 799 MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( |
| 798 Handle<Script> script, bool before); | 800 Handle<Script> script, bool before); |
| 799 MUST_USE_RESULT MaybeHandle<Object> MakeScriptCollectedEvent(int id); | 801 MUST_USE_RESULT MaybeHandle<Object> MakeScriptCollectedEvent(int id); |
| 800 | 802 |
| 801 void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); | 803 void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); |
| 802 void OnException(Handle<Object> exception, bool uncaught); | 804 void OnException(Handle<Object> exception, |
| 805 bool uncaught, |
| 806 Handle<Object> promise = Handle<Object>::null()); |
| 803 void OnBeforeCompile(Handle<Script> script); | 807 void OnBeforeCompile(Handle<Script> script); |
| 804 | 808 |
| 805 enum AfterCompileFlags { | 809 enum AfterCompileFlags { |
| 806 NO_AFTER_COMPILE_FLAGS, | 810 NO_AFTER_COMPILE_FLAGS, |
| 807 SEND_WHEN_DEBUGGING | 811 SEND_WHEN_DEBUGGING |
| 808 }; | 812 }; |
| 809 void OnAfterCompile(Handle<Script> script, | 813 void OnAfterCompile(Handle<Script> script, |
| 810 AfterCompileFlags after_compile_flags); | 814 AfterCompileFlags after_compile_flags); |
| 811 void OnScriptCollected(int id); | 815 void OnScriptCollected(int id); |
| 812 void ProcessDebugEvent(v8::DebugEvent event, | 816 void ProcessDebugEvent(v8::DebugEvent event, |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1058 | 1062 |
| 1059 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1063 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
| 1060 }; | 1064 }; |
| 1061 | 1065 |
| 1062 | 1066 |
| 1063 } } // namespace v8::internal | 1067 } } // namespace v8::internal |
| 1064 | 1068 |
| 1065 #endif // ENABLE_DEBUGGER_SUPPORT | 1069 #endif // ENABLE_DEBUGGER_SUPPORT |
| 1066 | 1070 |
| 1067 #endif // V8_DEBUG_H_ | 1071 #endif // V8_DEBUG_H_ |
| OLD | NEW |