7f460012c6
In Isolate::CaptureSimpleStackTrace, we were ignoring interpreter entry frames so far. This CLs changes this to gets the interpreted stack from the wasm interpreter and add the frames to the FrameArray. R=ahaas@chromium.org, titzer@chromium.org BUG=v8:5822 Change-Id: I705909532ff28af412ff809da94522866eaa1c0d Reviewed-on: https://chromium-review.googlesource.com/452378 Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Ben Titzer <titzer@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#43772}
25 lines
508 B
Plaintext
25 lines
508 B
Plaintext
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>[0]+1)
|
|
at main (<WASM>[1]+1)
|
|
at v8://test/runWasm:1:22
|
|
exports.main returned.
|
|
Finished.
|