2656330f34
So that it is possible to differentiate modules in the stack trace even when they are anonymous. R=kimanh@chromium.org Bug: v8:11808 Change-Id: I12a1f07accdf62c404052f32624e9914381a7451 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3074472 Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Reviewed-by: Kim-Anh Tran <kimanh@chromium.org> Cr-Commit-Position: refs/heads/master@{#76141}
20 lines
968 B
Plaintext
20 lines
968 B
Plaintext
Tests call stack in wasm scripts
|
|
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":0,"columnNumber":55}
|
|
- [2] {"functionName":"$main","lineNumber":0,"columnNumber":62}
|
|
- [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://wasm/37655946:wasm-function[1]:0x37)
|
|
at main (wasm://wasm/37655946:wasm-function[2]:0x3e)
|
|
at testFunction (<anonymous>:15:20)
|
|
at <anonymous>:1:1
|
|
Finished!
|