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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 6 00:38:07 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=167934

--- Comment #6 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
The stack trace of attachment 314704 seems correct using JSC (TOT):

WebKitBuild/Release/bin/jsc -e "`curl https://bug-167934-attachments.webkit.org/attachment.cgi?id=314704`"
Stack of an exception:
throwError@[Command Line]:2:18
caller@[Command Line]:6:13
invokee@[Command Line]:10:9
root@[Command Line]:14:10
global code@[Command Line]:19:7

Stack of a rethrown exception:
throwError@[Command Line]:2:18
caller@[Command Line]:6:13
invokee@[Command Line]:10:9
root@[Command Line]:14:10
global code@[Command Line]:28:9

Similarly, opening attachment 314703 in MiniBrowser (TOT) the exception stack trace are correctly printed in the textarea.

Attachment 314702 is similar to the original test case (i.e. using separate script tags and checking the console) and indeed shows that the stack incorrect for the rethrown exception. Again, using TOT.

-- 
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/20170706/2d9c7e14/attachment.html>


More information about the webkit-unassigned mailing list