| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 186 |
| 187 virtual void enable(); | 187 virtual void enable(); |
| 188 virtual void disable(); | 188 virtual void disable(); |
| 189 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame
s, const ScriptValue& exception, const Vector<String>& hitBreakpoints) OVERRIDE
FINAL; | 189 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame
s, const ScriptValue& exception, const Vector<String>& hitBreakpoints) OVERRIDE
FINAL; |
| 190 virtual void didContinue() OVERRIDE FINAL; | 190 virtual void didContinue() OVERRIDE FINAL; |
| 191 void reset(); | 191 void reset(); |
| 192 void pageDidCommitLoad(); | 192 void pageDidCommitLoad(); |
| 193 | 193 |
| 194 private: | 194 private: |
| 195 SkipPauseRequest shouldSkipExceptionPause(); | 195 SkipPauseRequest shouldSkipExceptionPause(); |
| 196 SkipPauseRequest shouldSkipBreakpointPause(); | |
| 197 SkipPauseRequest shouldSkipStepPause(); | 196 SkipPauseRequest shouldSkipStepPause(); |
| 198 | 197 |
| 199 void cancelPauseOnNextStatement(); | 198 void cancelPauseOnNextStatement(); |
| 200 void addMessageToConsole(MessageSource, MessageType); | 199 void addMessageToConsole(MessageSource, MessageType); |
| 201 | 200 |
| 202 bool enabled(); | 201 bool enabled(); |
| 203 | 202 |
| 204 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); | 203 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); |
| 205 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); | 204 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); |
| 206 | 205 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 229 InspectorFrontend::Debugger* m_frontend; | 228 InspectorFrontend::Debugger* m_frontend; |
| 230 RefPtr<ScriptState> m_pausedScriptState; | 229 RefPtr<ScriptState> m_pausedScriptState; |
| 231 ScriptValue m_currentCallStack; | 230 ScriptValue m_currentCallStack; |
| 232 ScriptsMap m_scripts; | 231 ScriptsMap m_scripts; |
| 233 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; | 232 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; |
| 234 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; | 233 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; |
| 235 String m_continueToLocationBreakpointId; | 234 String m_continueToLocationBreakpointId; |
| 236 InspectorFrontend::Debugger::Reason::Enum m_breakReason; | 235 InspectorFrontend::Debugger::Reason::Enum m_breakReason; |
| 237 RefPtr<JSONObject> m_breakAuxData; | 236 RefPtr<JSONObject> m_breakAuxData; |
| 238 bool m_javaScriptPauseScheduled; | 237 bool m_javaScriptPauseScheduled; |
| 238 bool m_stepLikePauseScheduled; |
| 239 Listener* m_listener; | 239 Listener* m_listener; |
| 240 | 240 |
| 241 int m_skipStepInCount; | 241 int m_skipStepInCount; |
| 242 bool m_skipAllPauses; | 242 bool m_skipAllPauses; |
| 243 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 243 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
| 244 AsyncCallStackTracker m_asyncCallStackTracker; | 244 AsyncCallStackTracker m_asyncCallStackTracker; |
| 245 }; | 245 }; |
| 246 | 246 |
| 247 } // namespace WebCore | 247 } // namespace WebCore |
| 248 | 248 |
| 249 | 249 |
| 250 #endif // !defined(InspectorDebuggerAgent_h) | 250 #endif // !defined(InspectorDebuggerAgent_h) |
| OLD | NEW |