New issue
Advanced search Search tips

Issue 823923 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug


Participants' hotlists:
Wasm-Debugging


Sign in to add a comment

Can't single-step across JS<->wasm boundary

Project Member Reported by dschuff@chromium.org, Mar 20 2018

Issue description

When debugging in the devtools console, you can set breakpoints in wasm, single-step through wasm instructions,  step into a wasm function from a wasm function, "step out" of a wasm function to a wasm function, step into a return instruction (which steps out of the function). But 

1) you can't step into a wasm function from a JS function or (I think) step into a JS function from a wasm function.
2) You can't step over a return instruction. Or more precisely I would expect this to be identical to stepping into a return instruction but it's not (I'm not sure what it actually does). This is even true if the return is to a wasm function.
 
Cc: clemensh@chromium.org herhut@chromium.org
Owner: clemensh@chromium.org
Status: Assigned (was: Available)
Thanks for opening this bug. 1) is a known issue. 2) is new to me, and should be easy to fix.
I will take this bug for now, but will not be able to work on this within the next weeks.
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 5 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/8a1956cd1d40a728e95fc711f64eb0299330916c

commit 8a1956cd1d40a728e95fc711f64eb0299330916c
Author: Stephen Barber <smbarber@chromium.org>
Date: Thu Apr 05 13:31:53 2018

termina_container_tools: depend on vm_guest_tools

BUG=chromium:823923
TEST=./build_packages --board=tatl --nowithautotest

Change-Id: I9cd9000d2c9248ea5928adffdef763cf0cdadd4f
Reviewed-on: https://chromium-review.googlesource.com/989290
Commit-Ready: Stephen Barber <smbarber@chromium.org>
Tested-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>

[modify] https://crrev.com/8a1956cd1d40a728e95fc711f64eb0299330916c/chromeos-base/termina_container_tools/termina_container_tools-0.0.1.ebuild
[rename] https://crrev.com/8a1956cd1d40a728e95fc711f64eb0299330916c/chromeos-base/termina_container_tools/termina_container_tools-0.0.1-r2.ebuild

Sign in to add a comment