d4a42a5f89
This allows to show wasm source (disassembled wasm code) in DevTools. See design doc for details. More tests for the disassembly will have to follow. Also, the text format (generated by V8) will be changed. BUG=chromium:659715 R=yangguo@chromium.org, kozyatinskiy@chromium.org, titzer@chromium.org, dgozman@chromium.org Review-Url: https://codereview.chromium.org/2493773003 Cr-Commit-Position: refs/heads/master@{#41055}
19 lines
869 B
Plaintext
19 lines
869 B
Plaintext
Running testFunction with generated WASM bytes...
|
|
Paused on 'debugger;'
|
|
Number of frames: 5
|
|
- [0] {"functionName":"call_debugger","function_lineNumber":1,"function_columnNumber":24,"lineNumber":2,"columnNumber":4}
|
|
- [1] {"functionName":"call_func","lineNumber":3,"columnNumber":0}
|
|
- [2] {"functionName":"main","lineNumber":4,"columnNumber":2}
|
|
- [3] {"functionName":"testFunction","function_lineNumber":0,"function_columnNumber":21,"lineNumber":14,"columnNumber":19}
|
|
- [4] {"functionName":"","function_lineNumber":0,"function_columnNumber":0,"lineNumber":0,"columnNumber":0}
|
|
Getting v8-generated stack trace...
|
|
Result of evaluate (string):
|
|
Error: this is your stack trace:
|
|
-- skipped --
|
|
at call_debugger (<anonymous>:3:5)
|
|
at call_func (<WASM>[1]+1)
|
|
at main (<WASM>[2]+3)
|
|
at testFunction (<anonymous>:15:20)
|
|
at <anonymous>:1:1
|
|
Finished!
|