| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 virtual void enable(); | 192 virtual void enable(); |
| 193 virtual void disable(); | 193 virtual void disable(); |
| 194 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame
s, const ScriptValue& exception, const Vector<String>& hitBreakpoints) OVERRIDE
FINAL; | 194 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame
s, const ScriptValue& exception, const Vector<String>& hitBreakpoints) OVERRIDE
FINAL; |
| 195 virtual void didContinue() OVERRIDE FINAL; | 195 virtual void didContinue() OVERRIDE FINAL; |
| 196 void reset(); | 196 void reset(); |
| 197 void pageDidCommitLoad(); | 197 void pageDidCommitLoad(); |
| 198 | 198 |
| 199 private: | 199 private: |
| 200 SkipPauseRequest shouldSkipExceptionPause(); | 200 SkipPauseRequest shouldSkipExceptionPause(); |
| 201 SkipPauseRequest shouldSkipStepPause(); | 201 SkipPauseRequest shouldSkipStepPause(); |
| 202 bool isTopCallFrameInFramework(); | |
| 203 | 202 |
| 204 void cancelPauseOnNextStatement(); | 203 void cancelPauseOnNextStatement(); |
| 205 void addMessageToConsole(MessageSource, MessageType); | 204 void addMessageToConsole(MessageSource, MessageType); |
| 206 | 205 |
| 207 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); | 206 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); |
| 208 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); | 207 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); |
| 209 | 208 |
| 210 virtual void didParseSource(const String& scriptId, const Script&) OVERRIDE
FINAL; | 209 virtual void didParseSource(const String& scriptId, const Script&) OVERRIDE
FINAL; |
| 211 virtual void failedToParseSource(const String& url, const String& data, int
firstLine, int errorLine, const String& errorMessage) OVERRIDE FINAL; | 210 virtual void failedToParseSource(const String& url, const String& data, int
firstLine, int errorLine, const String& errorMessage) OVERRIDE FINAL; |
| 212 | 211 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 231 RefPtr<ScriptState> m_pausedScriptState; | 230 RefPtr<ScriptState> m_pausedScriptState; |
| 232 ScriptValue m_currentCallStack; | 231 ScriptValue m_currentCallStack; |
| 233 ScriptsMap m_scripts; | 232 ScriptsMap m_scripts; |
| 234 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; | 233 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; |
| 235 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; | 234 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; |
| 236 String m_continueToLocationBreakpointId; | 235 String m_continueToLocationBreakpointId; |
| 237 InspectorFrontend::Debugger::Reason::Enum m_breakReason; | 236 InspectorFrontend::Debugger::Reason::Enum m_breakReason; |
| 238 RefPtr<JSONObject> m_breakAuxData; | 237 RefPtr<JSONObject> m_breakAuxData; |
| 239 bool m_javaScriptPauseScheduled; | 238 bool m_javaScriptPauseScheduled; |
| 240 bool m_debuggerStepScheduled; | 239 bool m_debuggerStepScheduled; |
| 241 bool m_steppingFromFramework; | |
| 242 bool m_pausingOnNativeEvent; | 240 bool m_pausingOnNativeEvent; |
| 243 Listener* m_listener; | 241 Listener* m_listener; |
| 244 | 242 |
| 245 int m_skippedStepInCount; | 243 int m_skippedStepInCount; |
| 246 int m_minFrameCountForSkip; | 244 int m_minFrameCountForSkip; |
| 247 bool m_skipAllPauses; | 245 bool m_skipAllPauses; |
| 248 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 246 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
| 249 AsyncCallStackTracker m_asyncCallStackTracker; | 247 AsyncCallStackTracker m_asyncCallStackTracker; |
| 250 }; | 248 }; |
| 251 | 249 |
| 252 } // namespace WebCore | 250 } // namespace WebCore |
| 253 | 251 |
| 254 | 252 |
| 255 #endif // !defined(InspectorDebuggerAgent_h) | 253 #endif // !defined(InspectorDebuggerAgent_h) |
| OLD | NEW |