Re: Drag&Drop to OSX desktop
Christian Pernot <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
Le 17/12/2012 11:14, Christian Pernot a écrit : > Le 14/12/2012 17:58, Neil a écrit : >> Christian Pernot wrote: >> >>> How could I watch message from NS_ERROR and PR_LOG in this code? >>> Do I have to compile firefox with specific options ? >> >> For NS_ERROR you need an --enable-debug build; NS_ERROR messages go to >> stderr and can also be sent to the NSPR log (NSPR_LOG_MODULES=nsDebug). >> A debug build will also turn on all PR_LOG support even if FORCE_PR_LOG >> is not set in the module you want to log. >> > > Thanks. > > I did use a tinderbox debug build, which I suppose is the same as doing > via your instructions. > I got a lot of log in the console, but when I do my drop, nothing more, > except that the second time I try it, firefox crashes with this message > in the console : > Assertion failure: !mInitialized, at > ../../../widget/xpwidgets/nsTransferable.cpp:241 > which is in the transferable initialization. > > I also tried with those environment variables : > NSPR_LOG_MODULES=nsCocoaWidgets:5 > NSPR_LOG_FILE=cocoa.log > > but I didn't get the cocoa.log file in working dir, as I expected. > > Do you have any more idea ? > > > -- > Christian I gave up some times ago. It seems like something is not done properly on OSX platform. sad. -- Christian