eshost-cli icon indicating copy to clipboard operation
eshost-cli copied to clipboard

Show the complete error output

Open igor-simoes opened this issue 7 years ago • 0 comments

Hi everyone, any chance to add a feature that shows the complete stack output? In some cases, I must to check if an issue violate an internal function or a test condition.

Example with eshost: $> eshost test.js

#### V8
RangeError: Offset is outside the bounds of the DataView

Example with V8 binary: $> ./v8 test.js

RangeError: Offset is outside the bounds of the DataView
    at DataView.getInt8 (<anonymous>)
    at test (.../test.js:6:13)
    at test.js:10:6

In second example we know that it was violated a pre-condition of DataView.getInt8 . Maybe the arg "--stack" can show to the user the stack output of each engine.

igor-simoes avatar Jul 13 '18 23:07 igor-simoes