Native functions will have a scriptId of 0. Currently, if _sourceCodeLocationFromPayload() encounters a native function, it will still proceed to look up id 0 in its _scriptIdMap and fail. This is the cause of the CONSOLE_ASSERT failure on the script value that follows.
<rdar://problem/21234039>