| Index: src/debug/debug.cc
|
| diff --git a/src/debug/debug.cc b/src/debug/debug.cc
|
| index 7287ceb1865ab214ad49bfbfd08d2a87f13b8733..2933b8b92fbba92c83dcf87485013a650ad4c083 100644
|
| --- a/src/debug/debug.cc
|
| +++ b/src/debug/debug.cc
|
| @@ -809,7 +809,8 @@ bool Debug::SetBreakPointForScript(Handle<Script> script,
|
| int* source_position,
|
| BreakPositionAlignment alignment) {
|
| if (script->type() == Script::TYPE_WASM) {
|
| - // TODO(clemensh): set breakpoint for wasm.
|
| + return wasm::GetDebugInfo(JSObject::cast(script->wasm_object()))
|
| + ->SetBreakPoint(*source_position);
|
| }
|
| HandleScope scope(isolate_);
|
|
|
|
|