Contents

JSGlobalContextCopyName(_:)

Gets a copy of the name of a context.

Declaration

func JSGlobalContextCopyName(_ ctx: JSGlobalContextRef!) -> JSStringRef!

Parameters

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.

See Also

Managing the context’s name