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 void breakProgram(); | 73 void breakProgram(); |
74 void continueProgram(); | 74 void continueProgram(); |
75 void stepIntoStatement(); | 75 void stepIntoStatement(); |
76 void stepOverStatement(const ScriptValue& frame); | 76 void stepOverStatement(const ScriptValue& frame); |
77 void stepOutOfFunction(const ScriptValue& frame); | 77 void stepOutOfFunction(const ScriptValue& frame); |
78 | 78 |
79 bool setScriptSource(const String& sourceID, const String& newContent, bool
preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc
riptValue* newCallFrames, RefPtr<JSONObject>* result); | 79 bool setScriptSource(const String& sourceID, const String& newContent, bool
preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc
riptValue* newCallFrames, RefPtr<JSONObject>* result); |
80 ScriptValue currentCallFrames(); | 80 ScriptValue currentCallFrames(); |
81 ScriptValue currentCallFramesForAsyncStack(); | 81 ScriptValue currentCallFramesForAsyncStack(); |
82 PassRefPtr<JavaScriptCallFrame> topCallFrameNoScopes(); | 82 PassRefPtr<JavaScriptCallFrame> topCallFrameNoScopes(); |
| 83 int frameCount(); |
83 | 84 |
84 class Task { | 85 class Task { |
85 public: | 86 public: |
86 virtual ~Task() { } | 87 virtual ~Task() { } |
87 virtual void run() = 0; | 88 virtual void run() = 0; |
88 }; | 89 }; |
89 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*); | 90 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*); |
90 void runPendingTasks(); | 91 void runPendingTasks(); |
91 | 92 |
92 bool isPaused(); | 93 bool isPaused(); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 void stepCommandWithFrame(const char* functionName, const ScriptValue& frame
); | 148 void stepCommandWithFrame(const char* functionName, const ScriptValue& frame
); |
148 PassRefPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit, ScopeInfoDe
tails); | 149 PassRefPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit, ScopeInfoDe
tails); |
149 | 150 |
150 bool m_runningNestedMessageLoop; | 151 bool m_runningNestedMessageLoop; |
151 }; | 152 }; |
152 | 153 |
153 } // namespace WebCore | 154 } // namespace WebCore |
154 | 155 |
155 | 156 |
156 #endif // ScriptDebugServer_h | 157 #endif // ScriptDebugServer_h |
OLD | NEW |