| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 virtual void getStepInPositions(ErrorString*, const String& callFrameId, Ref
Ptr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& positions) OVERRIDE F
INAL; | 112 virtual void getStepInPositions(ErrorString*, const String& callFrameId, Ref
Ptr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& positions) OVERRIDE F
INAL; |
| 113 virtual void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilde
r::Debugger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) OVERRIDE
FINAL; | 113 virtual void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilde
r::Debugger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) OVERRIDE
FINAL; |
| 114 | 114 |
| 115 virtual void searchInContent(ErrorString*, const String& scriptId, const Str
ing& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefP
tr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVERRIDE FINAL; | 115 virtual void searchInContent(ErrorString*, const String& scriptId, const Str
ing& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefP
tr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVERRIDE FINAL; |
| 116 virtual void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::Set
ScriptSourceError>&, const String& scriptId, const String& newContent, const boo
l* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCa
llFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>&
asyncStackTrace) OVERRIDE FINAL; | 116 virtual void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::Set
ScriptSourceError>&, const String& scriptId, const String& newContent, const boo
l* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCa
llFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>&
asyncStackTrace) OVERRIDE FINAL; |
| 117 virtual void restartFrame(ErrorString*, const String& callFrameId, RefPtr<Ty
peBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSON
Object>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace) OVE
RRIDE FINAL; | 117 virtual void restartFrame(ErrorString*, const String& callFrameId, RefPtr<Ty
peBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSON
Object>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace) OVE
RRIDE FINAL; |
| 118 virtual void getScriptSource(ErrorString*, const String& scriptId, String* s
criptSource) OVERRIDE FINAL; | 118 virtual void getScriptSource(ErrorString*, const String& scriptId, String* s
criptSource) OVERRIDE FINAL; |
| 119 virtual void getFunctionDetails(ErrorString*, const String& functionId, RefP
tr<TypeBuilder::Debugger::FunctionDetails>&) OVERRIDE FINAL; | 119 virtual void getFunctionDetails(ErrorString*, const String& functionId, RefP
tr<TypeBuilder::Debugger::FunctionDetails>&) OVERRIDE FINAL; |
| 120 virtual void pause(ErrorString*) OVERRIDE FINAL; | 120 virtual void pause(ErrorString*) OVERRIDE FINAL; |
| 121 virtual void resume(ErrorString*) OVERRIDE FINAL; | 121 virtual void resume(ErrorString*) OVERRIDE FINAL; |
| 122 virtual void stepOver(ErrorString*, const String* callFrameId) OVERRIDE FINA
L; | 122 virtual void stepOver(ErrorString*) OVERRIDE FINAL; |
| 123 virtual void stepInto(ErrorString*) OVERRIDE FINAL; | 123 virtual void stepInto(ErrorString*) OVERRIDE FINAL; |
| 124 virtual void stepOut(ErrorString*, const String* callFrameId) OVERRIDE FINAL
; | 124 virtual void stepOut(ErrorString*) OVERRIDE FINAL; |
| 125 virtual void setPauseOnExceptions(ErrorString*, const String& pauseState) OV
ERRIDE FINAL; | 125 virtual void setPauseOnExceptions(ErrorString*, const String& pauseState) OV
ERRIDE FINAL; |
| 126 virtual void evaluateOnCallFrame(ErrorString*, | 126 virtual void evaluateOnCallFrame(ErrorString*, |
| 127 const String& callFrameId, | 127 const String& callFrameId, |
| 128 const String& expression, | 128 const String& expression, |
| 129 const String* objectGroup, | 129 const String* objectGroup, |
| 130 const bool* includeCommandLineAPI, | 130 const bool* includeCommandLineAPI, |
| 131 const bool* doNotPauseOnExceptionsAndMuteConsole, | 131 const bool* doNotPauseOnExceptionsAndMuteConsole, |
| 132 const bool* returnByValue, | 132 const bool* returnByValue, |
| 133 const bool* generatePreview, | 133 const bool* generatePreview, |
| 134 RefPtr<TypeBuilder::Runtime::RemoteObject>& result, | 134 RefPtr<TypeBuilder::Runtime::RemoteObject>& result, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String&
breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource)
; | 214 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String&
breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource)
; |
| 215 void removeBreakpoint(const String& breakpointId); | 215 void removeBreakpoint(const String& breakpointId); |
| 216 void clear(); | 216 void clear(); |
| 217 bool assertPaused(ErrorString*); | 217 bool assertPaused(ErrorString*); |
| 218 void clearBreakDetails(); | 218 void clearBreakDetails(); |
| 219 | 219 |
| 220 String sourceMapURLForScript(const Script&); | 220 String sourceMapURLForScript(const Script&); |
| 221 | 221 |
| 222 String scriptURL(JavaScriptCallFrame*); | 222 String scriptURL(JavaScriptCallFrame*); |
| 223 | 223 |
| 224 ScriptValue resolveCallFrame(ErrorString*, const String* callFrameId); | |
| 225 | |
| 226 typedef HashMap<String, Script> ScriptsMap; | 224 typedef HashMap<String, Script> ScriptsMap; |
| 227 typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpoint
IdsMap; | 225 typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpoint
IdsMap; |
| 228 typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBre
akpointToBreakpointIdAndSourceMap; | 226 typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBre
akpointToBreakpointIdAndSourceMap; |
| 229 | 227 |
| 230 InjectedScriptManager* m_injectedScriptManager; | 228 InjectedScriptManager* m_injectedScriptManager; |
| 231 InspectorFrontend::Debugger* m_frontend; | 229 InspectorFrontend::Debugger* m_frontend; |
| 232 RefPtr<ScriptState> m_pausedScriptState; | 230 RefPtr<ScriptState> m_pausedScriptState; |
| 233 ScriptValue m_currentCallStack; | 231 ScriptValue m_currentCallStack; |
| 234 ScriptsMap m_scripts; | 232 ScriptsMap m_scripts; |
| 235 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; | 233 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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 |