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

Side by Side Diff: Source/bindings/v8/ScriptDebugServer.h

Issue 15096004: Passing hit breakpoint IDs to ScriptDebugServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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, 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ScriptDebugServer(v8::Isolate*); 101 ScriptDebugServer(v8::Isolate*);
102 virtual ~ScriptDebugServer(); 102 virtual ~ScriptDebugServer();
103 103
104 ScriptValue currentCallFrame(); 104 ScriptValue currentCallFrame();
105 105
106 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) = 0; 106 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) = 0;
107 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) = 0; 107 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) = 0;
108 virtual void quitMessageLoopOnPause() = 0; 108 virtual void quitMessageLoopOnPause() = 0;
109 109
110 static v8::Handle<v8::Value> breakProgramCallback(const v8::Arguments& args) ; 110 static v8::Handle<v8::Value> breakProgramCallback(const v8::Arguments& args) ;
111 void breakProgram(v8::Handle<v8::Object> executionState, v8::Handle<v8::Valu e> exception); 111 void breakProgram(v8::Handle<v8::Object> executionState, v8::Handle<v8::Valu e> exception, v8::Handle<v8::Array> hitBreakpoints);
112 112
113 static void v8DebugEventCallback(const v8::Debug::EventDetails& eventDetails ); 113 static void v8DebugEventCallback(const v8::Debug::EventDetails& eventDetails );
114 void handleV8DebugEvent(const v8::Debug::EventDetails& eventDetails); 114 void handleV8DebugEvent(const v8::Debug::EventDetails& eventDetails);
115 115
116 void dispatchDidParseSource(ScriptDebugListener* listener, v8::Handle<v8::Ob ject> sourceObject); 116 void dispatchDidParseSource(ScriptDebugListener* listener, v8::Handle<v8::Ob ject> sourceObject);
117 117
118 void ensureDebuggerScriptCompiled(); 118 void ensureDebuggerScriptCompiled();
119 119
120 v8::Local<v8::Value> callDebuggerMethod(const char* functionName, int argc, v8::Handle<v8::Value> argv[]); 120 v8::Local<v8::Value> callDebuggerMethod(const char* functionName, int argc, v8::Handle<v8::Value> argv[]);
121 121
(...skipping 11 matching lines...) Expand all
133 private: 133 private:
134 class ScriptPreprocessor; 134 class ScriptPreprocessor;
135 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor; 135 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor;
136 bool m_runningNestedMessageLoop; 136 bool m_runningNestedMessageLoop;
137 }; 137 };
138 138
139 } // namespace WebCore 139 } // namespace WebCore
140 140
141 141
142 #endif // ScriptDebugServer_h 142 #endif // ScriptDebugServer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698