Discussion:
Can't get the xpcom service with do_GetService
Hao Dong
2013-05-29 06:21:12 UTC
Permalink
I try to use the following code to get the the jsdIDebuggerService, but it failed

nsresult rv;
const char jsdServiceCtrID[] = "@mozilla.org/js/jsd/debugger-service;1";
nsCOMPtr jsds = do_GetService(jsdServiceCtrID, &rv);

who can help me solve it?

Loading...