Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1348)

Side by Side Diff: src/debug.h

Issue 652027: Basic implementation of liveedit feature (Closed)
Patch Set: add proper source headers Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler.cc ('k') | src/debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 static Handle<Object> MakeNewFunctionEvent(Handle<Object> func, 597 static Handle<Object> MakeNewFunctionEvent(Handle<Object> func,
598 bool* caught_exception); 598 bool* caught_exception);
599 static Handle<Object> MakeCompileEvent(Handle<Script> script, 599 static Handle<Object> MakeCompileEvent(Handle<Script> script,
600 bool before, 600 bool before,
601 bool* caught_exception); 601 bool* caught_exception);
602 static Handle<Object> MakeScriptCollectedEvent(int id, 602 static Handle<Object> MakeScriptCollectedEvent(int id,
603 bool* caught_exception); 603 bool* caught_exception);
604 static void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); 604 static void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue);
605 static void OnException(Handle<Object> exception, bool uncaught); 605 static void OnException(Handle<Object> exception, bool uncaught);
606 static void OnBeforeCompile(Handle<Script> script); 606 static void OnBeforeCompile(Handle<Script> script);
607
608 enum AfterCompileFlags {
609 NO_AFTER_COMPILE_FLAGS,
610 SEND_WHEN_DEBUGGING
611 };
607 static void OnAfterCompile(Handle<Script> script, 612 static void OnAfterCompile(Handle<Script> script,
608 Handle<JSFunction> fun); 613 AfterCompileFlags after_compile_flags);
609 static void OnNewFunction(Handle<JSFunction> fun); 614 static void OnNewFunction(Handle<JSFunction> fun);
610 static void OnScriptCollected(int id); 615 static void OnScriptCollected(int id);
611 static void ProcessDebugEvent(v8::DebugEvent event, 616 static void ProcessDebugEvent(v8::DebugEvent event,
612 Handle<JSObject> event_data, 617 Handle<JSObject> event_data,
613 bool auto_continue); 618 bool auto_continue);
614 static void NotifyMessageHandler(v8::DebugEvent event, 619 static void NotifyMessageHandler(v8::DebugEvent event,
615 Handle<JSObject> exec_state, 620 Handle<JSObject> exec_state,
616 Handle<JSObject> event_data, 621 Handle<JSObject> event_data,
617 bool auto_continue); 622 bool auto_continue);
618 static void SetEventListener(Handle<Object> callback, Handle<Object> data); 623 static void SetEventListener(Handle<Object> callback, Handle<Object> data);
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 891
887 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 892 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
888 }; 893 };
889 894
890 895
891 } } // namespace v8::internal 896 } } // namespace v8::internal
892 897
893 #endif // ENABLE_DEBUGGER_SUPPORT 898 #endif // ENABLE_DEBUGGER_SUPPORT
894 899
895 #endif // V8_DEBUG_H_ 900 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698