[EMAIL PROTECTED] wrote:
and such. I tried adding printf statements to
js/src/xpconnect/src/xpccomponents.cpp and recompiling, but without
much success. I am guessing that this is the right place. Is there a
logging infrastructure for Firefox I could enable?

Well, that should be the right file for JS accesses to createInstance and getService etc.

If you also want all accesses, then you want nsComponentManager.cpp, which does have some logging, although perhaps not for everything. To use it:

  set NSPR_LOG_MODULE=nsComponentManager:5
  set NSPR_LOG_FILE=c:\foo.log
  : now run the browser

-christian

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to