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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 bool canBreakProgram(); | 73 bool canBreakProgram(); |
74 void breakProgram(); | 74 void breakProgram(); |
75 void continueProgram(); | 75 void continueProgram(); |
76 void stepIntoStatement(); | 76 void stepIntoStatement(); |
77 void stepOverStatement(); | 77 void stepOverStatement(); |
78 void stepOutOfFunction(); | 78 void stepOutOfFunction(); |
79 | 79 |
80 bool setScriptSource(const String& sourceID, const String& newContent, bool
preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc
riptValue* newCallFrames, RefPtr<JSONObject>* result); | 80 bool setScriptSource(const String& sourceID, const String& newContent, bool
preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc
riptValue* newCallFrames, RefPtr<JSONObject>* result); |
81 ScriptValue currentCallFrames(); | 81 ScriptValue currentCallFrames(); |
82 ScriptValue currentCallFramesForAsyncStack(); | 82 ScriptValue currentCallFramesForAsyncStack(); |
83 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameNoScopes(); | 83 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> callFrameNoScopes(int index); |
84 int frameCount(); | 84 int frameCount(); |
85 | 85 |
86 static PassRefPtrWillBeRawPtr<JavaScriptCallFrame> toJavaScriptCallFrameUnsa
fe(const ScriptValue&); | 86 static PassRefPtrWillBeRawPtr<JavaScriptCallFrame> toJavaScriptCallFrameUnsa
fe(const ScriptValue&); |
87 | 87 |
88 class Task { | 88 class Task { |
89 public: | 89 public: |
90 virtual ~Task() { } | 90 virtual ~Task() { } |
91 virtual void run() = 0; | 91 virtual void run() = 0; |
92 }; | 92 }; |
93 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*); | 93 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 void handleV8AsyncTaskEvent(ScriptDebugListener*, ScriptState* pausedScriptS
tate, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData); | 154 void handleV8AsyncTaskEvent(ScriptDebugListener*, ScriptState* pausedScriptS
tate, 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 |