| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 PauseOnUncaughtExceptions | 68 PauseOnUncaughtExceptions |
| 69 }; | 69 }; |
| 70 PauseOnExceptionsState pauseOnExceptionsState(); | 70 PauseOnExceptionsState pauseOnExceptionsState(); |
| 71 void setPauseOnExceptionsState(PauseOnExceptionsState pauseOnExceptionsState
); | 71 void setPauseOnExceptionsState(PauseOnExceptionsState pauseOnExceptionsState
); |
| 72 | 72 |
| 73 void setPauseOnNextStatement(bool pause); | 73 void setPauseOnNextStatement(bool pause); |
| 74 bool canBreakProgram(); | 74 bool canBreakProgram(); |
| 75 void breakProgram(); | 75 void breakProgram(); |
| 76 void continueProgram(); | 76 void continueProgram(); |
| 77 void stepIntoStatement(); | 77 void stepIntoStatement(); |
| 78 void stepOverStatement(const ScriptValue& frame); | 78 void stepOverStatement(); |
| 79 void stepOutOfFunction(const ScriptValue& frame); | 79 void stepOutOfFunction(); |
| 80 | 80 |
| 81 bool setScriptSource(const String& sourceID, const String& newContent, bool
preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc
riptValue* newCallFrames, RefPtr<JSONObject>* result); | 81 bool setScriptSource(const String& sourceID, const String& newContent, bool
preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc
riptValue* newCallFrames, RefPtr<JSONObject>* result); |
| 82 ScriptValue currentCallFrames(); | 82 ScriptValue currentCallFrames(); |
| 83 ScriptValue currentCallFramesForAsyncStack(); | 83 ScriptValue currentCallFramesForAsyncStack(); |
| 84 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameNoScopes(); | 84 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameNoScopes(); |
| 85 int frameCount(); | 85 int frameCount(); |
| 86 | 86 |
| 87 class Task { | 87 class Task { |
| 88 public: | 88 public: |
| 89 virtual ~Task() { } | 89 virtual ~Task() { } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 private: | 141 private: |
| 142 enum ScopeInfoDetails { | 142 enum ScopeInfoDetails { |
| 143 AllScopes, | 143 AllScopes, |
| 144 FastAsyncScopes, | 144 FastAsyncScopes, |
| 145 NoScopes // Should be the last option. | 145 NoScopes // Should be the last option. |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 ScriptValue currentCallFramesInner(ScopeInfoDetails); | 148 ScriptValue currentCallFramesInner(ScopeInfoDetails); |
| 149 | 149 |
| 150 void stepCommandWithFrame(const char* functionName, const ScriptValue& frame
); | |
| 151 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit,
ScopeInfoDetails); | 150 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit,
ScopeInfoDetails); |
| 152 | 151 |
| 153 bool m_runningNestedMessageLoop; | 152 bool m_runningNestedMessageLoop; |
| 154 }; | 153 }; |
| 155 | 154 |
| 156 } // namespace WebCore | 155 } // namespace WebCore |
| 157 | 156 |
| 158 | 157 |
| 159 #endif // ScriptDebugServer_h | 158 #endif // ScriptDebugServer_h |
| OLD | NEW |