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); |
796 void OnScriptCollected(int id); | 797 void OnScriptCollected(int id); |
797 void ProcessDebugEvent(v8::DebugEvent event, | 798 void ProcessDebugEvent(v8::DebugEvent event, |
798 Handle<JSObject> event_data, | 799 Handle<JSObject> event_data, |
799 bool auto_continue); | 800 bool auto_continue); |
800 void NotifyMessageHandler(v8::DebugEvent event, | 801 void NotifyMessageHandler(v8::DebugEvent event, |
801 Handle<JSObject> exec_state, | 802 Handle<JSObject> exec_state, |
802 Handle<JSObject> event_data, | 803 Handle<JSObject> event_data, |
803 bool auto_continue); | 804 bool auto_continue); |
804 void SetEventListener(Handle<Object> callback, Handle<Object> data); | 805 void SetEventListener(Handle<Object> callback, Handle<Object> data); |
805 void SetMessageHandler(v8::Debug::MessageHandler2 handler); | 806 void SetMessageHandler(v8::Debug::MessageHandler2 handler); |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 | 1042 |
1042 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1043 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1043 }; | 1044 }; |
1044 | 1045 |
1045 | 1046 |
1046 } } // namespace v8::internal | 1047 } } // namespace v8::internal |
1047 | 1048 |
1048 #endif // ENABLE_DEBUGGER_SUPPORT | 1049 #endif // ENABLE_DEBUGGER_SUPPORT |
1049 | 1050 |
1050 #endif // V8_DEBUG_H_ | 1051 #endif // V8_DEBUG_H_ |
OLD | NEW |