OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class ScriptState; | 45 class ScriptState; |
46 class ScriptDebugListener; | 46 class ScriptDebugListener; |
47 class ScriptSourceCode; | 47 class ScriptSourceCode; |
48 class ScriptValue; | 48 class ScriptValue; |
49 class JavaScriptCallFrame; | 49 class JavaScriptCallFrame; |
50 | 50 |
51 class ScriptDebugServer : public NoBaseWillBeGarbageCollectedFinalized<ScriptDeb
ugServer> { | 51 class ScriptDebugServer : public NoBaseWillBeGarbageCollectedFinalized<ScriptDeb
ugServer> { |
52 WTF_MAKE_NONCOPYABLE(ScriptDebugServer); | 52 WTF_MAKE_NONCOPYABLE(ScriptDebugServer); |
53 public: | 53 public: |
54 virtual ~ScriptDebugServer(); | 54 virtual ~ScriptDebugServer(); |
55 virtual void trace(Visitor*); | 55 DECLARE_VIRTUAL_TRACE(); |
56 | 56 |
57 String setBreakpoint(const String& sourceID, const ScriptBreakpoint&, int* a
ctualLineNumber, int* actualColumnNumber, bool interstatementLocation); | 57 String setBreakpoint(const String& sourceID, const ScriptBreakpoint&, int* a
ctualLineNumber, int* actualColumnNumber, bool interstatementLocation); |
58 void removeBreakpoint(const String& breakpointId); | 58 void removeBreakpoint(const String& breakpointId); |
59 void clearBreakpoints(); | 59 void clearBreakpoints(); |
60 void setBreakpointsActivated(bool activated); | 60 void setBreakpointsActivated(bool activated); |
61 | 61 |
62 enum PauseOnExceptionsState { | 62 enum PauseOnExceptionsState { |
63 DontPauseOnExceptions, | 63 DontPauseOnExceptions, |
64 PauseOnAllExceptions, | 64 PauseOnAllExceptions, |
65 PauseOnUncaughtExceptions | 65 PauseOnUncaughtExceptions |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 void handleV8PromiseEvent(ScriptDebugListener*, ScriptState* pausedScriptSta
te, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData); | 154 void handleV8PromiseEvent(ScriptDebugListener*, ScriptState* pausedScriptSta
te, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData); |
155 | 155 |
156 bool m_runningNestedMessageLoop; | 156 bool m_runningNestedMessageLoop; |
157 }; | 157 }; |
158 | 158 |
159 } // namespace blink | 159 } // namespace blink |
160 | 160 |
161 | 161 |
162 #endif // ScriptDebugServer_h | 162 #endif // ScriptDebugServer_h |
OLD | NEW |