v8/test/inspector/debugger/wasm-imports-expected.txt
Clemens Hammacher 96062c0427 [wasm] Use spec'ed location format
This CL changes the printed wasm locations to use the spec'ed format
(see https://github.com/WebAssembly/design/blob/master/Web.md#developer-facing-display-conventions).

Before: <WASM[<id>]+<offset>
After:  wasm-function[<id>]:<offset>

R=ahaas@chromium.org

Change-Id: If8018012b518143d6353f5a1f5319764ee46f148
Reviewed-on: https://chromium-review.googlesource.com/529104
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45820}
2017-06-09 15:04:36 +00:00

26 lines
544 B
Plaintext

Tests imports in wasm
Installing code and global variable.
Calling instantiate function for module A.
Waiting for wasm script to be parsed.
Got wasm script!
Setting breakpoint in line 1:
func $func
#nop
end
Calling instantiate function for module B.
Calling main function on module B.
Paused at 1:2.
func $func
#nop
end
Getting current stack trace via "new Error().stack".
Error
at v8://test/getStack:1:1
at func (wasm-function[0]:1)
at main (wasm-function[1]:1)
at v8://test/runWasm:1:22
exports.main returned.
Finished.