| 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 OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); | 786 void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); |
| 787 void OnException(Handle<Object> exception, bool uncaught); | 787 void OnException(Handle<Object> exception, bool uncaught); |
| 788 void OnBeforeCompile(Handle<Script> script); | 788 void OnBeforeCompile(Handle<Script> script); |
| 789 | 789 |
| 790 enum AfterCompileFlags { | 790 enum AfterCompileFlags { |
| 791 NO_AFTER_COMPILE_FLAGS, | 791 NO_AFTER_COMPILE_FLAGS, |
| 792 SEND_WHEN_DEBUGGING | 792 SEND_WHEN_DEBUGGING |
| 793 }; | 793 }; |
| 794 void OnAfterCompile(Handle<Script> script, | 794 void OnAfterCompile(Handle<Script> script, |
| 795 AfterCompileFlags after_compile_flags); | 795 AfterCompileFlags after_compile_flags); |
| 796 void OnNewFunction(Handle<JSFunction> fun); | |
| 797 void OnScriptCollected(int id); | 796 void OnScriptCollected(int id); |
| 798 void ProcessDebugEvent(v8::DebugEvent event, | 797 void ProcessDebugEvent(v8::DebugEvent event, |
| 799 Handle<JSObject> event_data, | 798 Handle<JSObject> event_data, |
| 800 bool auto_continue); | 799 bool auto_continue); |
| 801 void NotifyMessageHandler(v8::DebugEvent event, | 800 void NotifyMessageHandler(v8::DebugEvent event, |
| 802 Handle<JSObject> exec_state, | 801 Handle<JSObject> exec_state, |
| 803 Handle<JSObject> event_data, | 802 Handle<JSObject> event_data, |
| 804 bool auto_continue); | 803 bool auto_continue); |
| 805 void SetEventListener(Handle<Object> callback, Handle<Object> data); | 804 void SetEventListener(Handle<Object> callback, Handle<Object> data); |
| 806 void SetMessageHandler(v8::Debug::MessageHandler2 handler); | 805 void SetMessageHandler(v8::Debug::MessageHandler2 handler); |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1042 | 1041 |
| 1043 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1042 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
| 1044 }; | 1043 }; |
| 1045 | 1044 |
| 1046 | 1045 |
| 1047 } } // namespace v8::internal | 1046 } } // namespace v8::internal |
| 1048 | 1047 |
| 1049 #endif // ENABLE_DEBUGGER_SUPPORT | 1048 #endif // ENABLE_DEBUGGER_SUPPORT |
| 1050 | 1049 |
| 1051 #endif // V8_DEBUG_H_ | 1050 #endif // V8_DEBUG_H_ |
| OLD | NEW |