JSGlobalContextCopyName(_:)
Gets a copy of the name of a context.
Declaration
func JSGlobalContextCopyName(_ ctx: JSGlobalContextRef!) -> JSStringRef!Parameters
- ctx:
The Jsglobalcontextref with the name you want to get.
Return Value
The name for ctx.
Discussion
JavaScriptCore exposes the name of JSGlobalContextRef for remote debugging to make it easier to identify the context you want to attach to.