[Webkit-unassigned] [Bug 167934] Rethrowing error resets stack trace making debugging hard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 11 23:41:10 PDT 2017


--- Comment #10 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to Frédéric Wang (:fredw) from comment #6)
> The stack trace of attachment 314704 [details] seems correct using JSC (TOT):
> ...
> Similarly, opening attachment 314703 [details] in MiniBrowser (TOT) the
> exception stack trace are correctly printed in the textarea.

Just to follow-up here. These test cases print Error.stack which is indeed the one requested in this bug report. Hence they can not exhibit the issue, contrary to the test cases requiring the use of the Web Inspector.

It turns out that the Web Inspector prints the Exception object's stack (and does it on purpose), which indicates the location of when that exception was last (re)thrown and hence does not correspond to the behavior Chromium or Firefox's console.

For details and ideas see the discussion on bug 174380.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170712/378825b6/attachment.html>

More information about the webkit-unassigned mailing list