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

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

Issue 651533003: DevTools: Introduce Debugger::Reason::PromiseRejection pause reason. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: also disaply <exception> in scopes sidebar Created 6 years, 2 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 virtual void startListeningScriptDebugServer() = 0; 208 virtual void startListeningScriptDebugServer() = 0;
209 virtual void stopListeningScriptDebugServer() = 0; 209 virtual void stopListeningScriptDebugServer() = 0;
210 virtual void muteConsole() = 0; 210 virtual void muteConsole() = 0;
211 virtual void unmuteConsole() = 0; 211 virtual void unmuteConsole() = 0;
212 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; } 212 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; }
213 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0; 213 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0;
214 214
215 virtual void enable(); 215 virtual void enable();
216 virtual void disable(); 216 virtual void disable();
217 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame s, const ScriptValue& exception, const Vector<String>& hitBreakpoints) override final; 217 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame s, const ScriptValue& exception, const Vector<String>& hitBreakpoints, bool isPr omiseRejection) override final;
218 virtual void didContinue() override final; 218 virtual void didContinue() override final;
219 void reset(); 219 void reset();
220 void pageDidCommitLoad(); 220 void pageDidCommitLoad();
221 221
222 private: 222 private:
223 SkipPauseRequest shouldSkipExceptionPause(); 223 SkipPauseRequest shouldSkipExceptionPause();
224 SkipPauseRequest shouldSkipStepPause(); 224 SkipPauseRequest shouldSkipStepPause();
225 bool isTopCallFrameInFramework(); 225 bool isTopCallFrameInFramework();
226 226
227 void cancelPauseOnNextStatement(); 227 void cancelPauseOnNextStatement();
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 bool m_skipContentScripts; 276 bool m_skipContentScripts;
277 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 277 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
278 OwnPtrWillBeMember<AsyncCallStackTracker> m_asyncCallStackTracker; 278 OwnPtrWillBeMember<AsyncCallStackTracker> m_asyncCallStackTracker;
279 OwnPtrWillBeMember<PromiseTracker> m_promiseTracker; 279 OwnPtrWillBeMember<PromiseTracker> m_promiseTracker;
280 }; 280 };
281 281
282 } // namespace blink 282 } // namespace blink
283 283
284 284
285 #endif // !defined(InspectorDebuggerAgent_h) 285 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptDebugServer.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698