jsd_DestroyAllJSDScripts(jsdc);
jsd_DestroyScriptManager(jsdc);
jsd_DebuggerOff(JSDContext* jsdc){    /* clear hooks here */    JS_SetNewScriptHookProc(jsdc->jsrt, NULL, NULL);    JS_SetDestroyScriptHookProc(jsdc->jsrt, NULL, NULL);    JS_SetDebuggerHandler(jsdc->jsrt, NULL, NULL);    JS_SetExecuteHook(jsdc->jsrt, NULL, NULL);    JS_SetCallHook(jsdc->jsrt, NULL, NULL);    JS_SetObjectHook(jsdc->jsrt, NULL, NULL);    JS_SetThrowHook(jsdc->jsrt, NULL, NULL);    JS_SetDebugErrorHook(jsdc->jsrt, NULL, NULL);#ifdef LIVEWIRE    LWDBG_SetNewScriptHookProc(NULL,NULL);#endif    /* clean up */    JSD_LockScriptSubsystem(jsdc);    jsd_DestroyAllJSDScripts(jsdc);    JSD_UnlockScriptSubsystem(jsdc);    jsd_DestroyAllSources(jsdc);        _destroyJSDContext(jsdc);    if( jsdc->userCallbacks.setContext )        jsdc->userCallbacks.setContext(NULL, jsdc->user);}