| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 bool enabled() const; | 57 bool enabled() const; |
| 58 | 58 |
| 59 void addDebuggerAgent(int contextGroupId, V8DebuggerAgentImpl*); | 59 void addDebuggerAgent(int contextGroupId, V8DebuggerAgentImpl*); |
| 60 void removeDebuggerAgent(int contextGroupId); | 60 void removeDebuggerAgent(int contextGroupId); |
| 61 void addRuntimeAgent(int contextGroupId, V8RuntimeAgentImpl*); | 61 void addRuntimeAgent(int contextGroupId, V8RuntimeAgentImpl*); |
| 62 void removeRuntimeAgent(int contextGroupId); | 62 void removeRuntimeAgent(int contextGroupId); |
| 63 | 63 |
| 64 String16 setBreakpoint(const String16& sourceID, const ScriptBreakpoint&, in
t* actualLineNumber, int* actualColumnNumber, bool interstatementLocation); | 64 String16 setBreakpoint(const String16& sourceID, const ScriptBreakpoint&, in
t* actualLineNumber, int* actualColumnNumber, bool interstatementLocation); |
| 65 void removeBreakpoint(const String16& breakpointId); | 65 void removeBreakpoint(const String16& breakpointId); |
| 66 void setBreakpointsActivated(bool); | 66 void setBreakpointsActivated(bool); |
| 67 bool breakpointsActivated() const { return m_breakpointsActivated; } |
| 67 | 68 |
| 68 enum PauseOnExceptionsState { | 69 enum PauseOnExceptionsState { |
| 69 DontPauseOnExceptions, | 70 DontPauseOnExceptions, |
| 70 PauseOnAllExceptions, | 71 PauseOnAllExceptions, |
| 71 PauseOnUncaughtExceptions | 72 PauseOnUncaughtExceptions |
| 72 }; | 73 }; |
| 73 PauseOnExceptionsState getPauseOnExceptionsState(); | 74 PauseOnExceptionsState getPauseOnExceptionsState(); |
| 74 void setPauseOnExceptionsState(PauseOnExceptionsState); | 75 void setPauseOnExceptionsState(PauseOnExceptionsState); |
| 75 void setPauseOnNextStatement(bool); | 76 void setPauseOnNextStatement(bool); |
| 76 bool pausingOnNextStatement(); | 77 bool pausingOnNextStatement(); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 v8::Local<v8::Object> m_executionState; | 155 v8::Local<v8::Object> m_executionState; |
| 155 v8::Local<v8::Context> m_pausedContext; | 156 v8::Local<v8::Context> m_pausedContext; |
| 156 bool m_runningNestedMessageLoop; | 157 bool m_runningNestedMessageLoop; |
| 157 v8::Global<v8::Context> m_regexContext; | 158 v8::Global<v8::Context> m_regexContext; |
| 158 }; | 159 }; |
| 159 | 160 |
| 160 } // namespace blink | 161 } // namespace blink |
| 161 | 162 |
| 162 | 163 |
| 163 #endif // V8DebuggerImpl_h | 164 #endif // V8DebuggerImpl_h |
| OLD | NEW |