Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.h

Issue 304563002: DevTools: Make frameworks work with "custom" breakpoints (DOM, XHR, Events). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_debuggerStepScheduled;
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698