2017-05-19 00:35:45 +00:00
|
|
|
Tests call stack in wasm scripts
|
2017-06-09 12:21:52 +00:00
|
|
|
Running testFunction with generated wasm bytes...
|
2016-10-18 09:58:20 +00:00
|
|
|
Paused on 'debugger;'
|
|
|
|
Number of frames: 5
|
|
|
|
- [0] {"functionName":"call_debugger","function_lineNumber":1,"function_columnNumber":24,"lineNumber":2,"columnNumber":4}
|
2017-01-15 21:18:53 +00:00
|
|
|
- [1] {"functionName":"call_func","lineNumber":1,"columnNumber":2}
|
|
|
|
- [2] {"functionName":"main","lineNumber":2,"columnNumber":4}
|
2016-10-18 09:58:20 +00:00
|
|
|
- [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)
|
2019-06-06 20:17:12 +00:00
|
|
|
at call_func (wasm-function[1]:0x37)
|
|
|
|
at main (wasm-function[2]:0x3e)
|
2016-10-18 09:58:20 +00:00
|
|
|
at testFunction (<anonymous>:15:20)
|
|
|
|
at <anonymous>:1:1
|
|
|
|
Finished!
|