16
I Use This!
Inactive

News

Analyzed about 4 hours ago. based on code collected about 4 hours ago.
Posted about 12 years ago by [email protected] (Christopher Nilsson)
Hi folks, I'm hitting an odd issue, which might just be due to my newness to firebreath, and my taking the easy (lazy?) road with internet explorer context menus. Quick background: My plugin has been working nicely, when called via javascript on a regular html page. I was hoping to reuse this plugin, when called by the context entries I've
Posted about 12 years ago by [email protected] (Neil Griffiths)
My guess is that you're loading dylibs from your plugin and those dylibs aren't in the right place on the machines where it isn't working. Neil
Posted about 12 years ago by [email protected] (Richard Bateman)
Totally agree; please feel free to put that on the website wherever you think it makes sense. (in case you didn't realize, the website is a wiki) Richard Apr 17, 2013, в 11:45, smog <[email protected]> написал(а):
Posted about 12 years ago by [email protected] (Richard Bateman)
That is extremely useful info! Could you throw that up on the Debugging Plugins page on the wiki? Richard Apr 17, 2013, в 11:44, Michael Jennings <[email protected]> написал(а):
Posted about 12 years ago by [email protected] (smog)
thx, --- There is no way that I know of to compile a mac plugin from a windows computer, or vise versa --- this is important information for newbies, but hard to find. i suggest to add this to "building" section on firebreath homepage. Dne pondělí, 4. února 2013 20:48:51 UTC+1 Richard Bateman (taxilian)
Posted about 12 years ago by [email protected] (Michael Jennings)
Thanks for getting back to me Richard! I don't think what I said is an exaggeration at all, but glad to know you don't have an ego >= your ability. So the "attach to process" is the only way to go for Xcode eh? Drag. By the way, I stumbled across this: "defaults write com.apple.Safari DisablePluginProcessMessageTim eout YES"
Posted about 12 years ago by [email protected] (Richard Bateman)
"world's foremost expert" would be a gross exaggeration, but you'll find a lot of plugin experience on this list. You could also try stackoverflow.com with the npapi tag. Unfortunately, I gave up on trying to make Xcode do what you describe a long ... [More] time ago. If you look in the np_macmain.cpp file in the firebreath codebase (I think it's in PluginAuto) you'll see some code that pauses until a debugger is connected; that's what I use. I then launch the plugin in a browser (usually Chrome or Firefox) and attach the debugger to the plugin process, after which my breakpoints work and the plugin finishes starting up. [Less]
Posted about 12 years ago by [email protected] (Michael Jennings)
Well I can already tell it's a friendly bunch :) Thanks so much for responding so quickly! My question is more plugin than FireBreath specific, but from what I've seen on the web, the author of FireBreath is probably the world's foremost expert on ... [More] plugins, so here goes; I have a simple NPAPI example from Apple, i can build a .plugin, and i can manually install it, but I'm having trouble telling XCode "build for debug, install it, then launch Safari and stop at a breakpoint" in one fell swoop. Is there a good tutorial for doing that? [Less]
Posted about 12 years ago by [email protected] (Taran Rampersad)
Here's the best spot, but... make sure you read the docs. Also, suggest that you build the examples too so that you become familiar with the process. -- Taran Rampersad
Posted about 12 years ago by [email protected] (John Dexter)
Here, but be prepared to be told to RTFM (in the nicest possible way) if you don't show evidence you have looked at the docs and samples ;) It's a friendly bunch though.