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

Unified Diff: src/wasm/wasm-objects.cc

Issue 2685163006: [inspector] migrate set/remove BreakPoint to debug-interface.h (Closed)
Patch Set: added a test, ready for review Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: src/wasm/wasm-objects.cc
diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc
index 1d1092cc623983649e56dffffe627c4fd0507e0c..6a6737edfd4dea72c98249d50b8209058e09ed32 100644
--- a/src/wasm/wasm-objects.cc
+++ b/src/wasm/wasm-objects.cc
@@ -1108,7 +1108,7 @@ bool WasmCompiledModule::SetBreakPoint(
Handle<WasmCompiledModule> compiled_module, int* position,
Handle<Object> break_point_object) {
Isolate* isolate = compiled_module->GetIsolate();
-
+ fprintf(stderr, "WasmCompiledModule::SetBreakpoint: %d\n", *position);
// Find the function for this breakpoint.
int func_index = compiled_module->GetContainingFunction(*position);
if (func_index < 0) return false;

Powered by Google App Engine
This is Rietveld 408576698