[webkit-dev] Adding "__FILE__" and "__LINE__" to CRASH() macro

Arunprasad Rajkumar ararunprasad at gmail.com
Fri Apr 12 23:06:20 PDT 2013


Hi Darin,

>>Is this for debug builds or for production builds?
It is for production build.

>>If it is for debug builds, then adding file and line seems fine; we
should do it in a way that shares code with assertion macros.
So in-case of calling CRASH from ASSERT then it shouldn't print __FILE__
and __LINE__ right(because ASSERT prints all these)?

>>If it is for production builds, then how do you debug other crashes?
printf :(



On 12 April 2013 20:17, Darin Adler <darin at apple.com> wrote:

> Is this for debug builds or for production builds?
>
> If it is for debug builds, then adding file and line seems fine; we should
> do it in a way that shares code with assertion macros.
>
> If it is for production builds, then how do you debug other crashes?
>
> -- Darin
>



-- 
*Arunprasad Rajkumar*
http://in.linkedin.com/in/ararunprasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130413/351a47c8/attachment.html>


More information about the webkit-dev mailing list