Unable to debug FireBreath plugin APIs using Visual Studio - firebreath

I have tried the mentioned steps to debug my FB plugin and I am unable to put a break point in the Plugin APIs.
Steps:
1) Launch a “sample page” on Firefox browser which loads my FB plugin.
2) Go to Debug -> "Attach to Process" in Visual studio 2008.
3) Attach the FireFox.exe process which has the “sample page” title.
4) Unable to put a breakpoint in the plugin API as my plugin DLL symbols are not loaded in Visual Studio.
I am not sure why my Plugin DLL symbols are not loaded. Please help me out.
NOTE: FB Plugin is built in Debug mode.
Thank you, Sande

Your problem is that firefox runs plugins in a seperate process; I think it's called something like plugin_container.exe
More info on FireBreath's debugging plugins page

Related

How install custom pepper plugin in Chromium browser source code?

I need to build in my pepper plugin in chromium source code for building browser with already installed plugin. Is there possibility to do that?
A handful of plugins are built in. Since these are plugins, they are built independently from Chrome and loaded dynamically rather than directly linked to the Chromium executable. This is the function that causes them to be loaded into Chromium:
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/chrome_content_client.cc&rcl=1436599777&l=118
The NaCl plugin is special, since it runs "in process", which means it is loaded into the renderer process. Eventually, support for this kind of plugin will be eliminated, so it is best to follow the pattern of the "out of process" plugins, which run in their own process, such as PDF.

Unable to Configure cordova package in Visual studio

I am just starting learning "Build 2D games with HTML5" from MVA and in starting i had a problem to configure my visual studio
Here is the link of that package Cordova-Windows package
The instructor shows that the Cordova windows package 3.5.0 contains CreateTemplates.bat file but it didn't work for me
i came up with this problem i dont know how to overcome this,
when i clicked the createTemplates.bat file its popup and off nothing happends so i try to open it up using command prompt and i get this errors , How to overcome?
what should i do now , your help would be highly appreciable !
You should use be using the Cordova CLI for your command line workflow for building Cordova Apps. For Cordova, more information is available here. If you want to use VS, then I strongly urge you to install our VS 2015 RC build which enables you to build Cordova applications for iOS, Android and Windows. More information for VS, is available here.

Visual Studio 2013 native cordova app build error

I just installed and repaired my VS2013 to build Native Cordova App. I have also installed the latest version of NodeJS but whenever I am trying to build the Application It gives me an error. I am uploading an image for more details on error as I believe image provide more info than text.
Posting error details if error is not clear in an image
Cannot find module 'q'.
The command ""C:\Users\nnnc\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform Android --configuration Debug --projectDir . --projectName "BlankCordovaApp1" --language "en-US"" exited with code 8. C:\Users\nnnc\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets
I have advanced a little bit more but having hard time to run the application I have to manually installed all the required module. but now whenever I am running my project I get an error of web page is not available. please look at the attached image again.
I found that running npm install from within /vs-mda/ solved all my problems.
found the fix and that Involved manually loading packages like q via node js and in the end the fix for web page is not available was that ripple has changed and now we should not add it as an extension via chrome. it should be done via node js as well as below
npm install ripple -g
but before doing that delete it from chrome if you have got it otherwise just run the command.
Regards

Getting blank screen from packaged air desktop application

I am developing an as3 application intended to be published with AIR.
I use the 4.6 version of Flex SDK with the flash builder plugin for eclipse.
I can launch/debug my app via eclipse without any problems. I export a valid version of the app and get my air installer. When I install and launch my app, I get a blank screen...
I don't know how to debug this. It seems that I miss something in the publication configuration but I don't know what.
I have been searching the web for hours and didn't find any solution, hope somebody can help me here !
Thanks for any help.
It simply was a real as3 error that didn't show up on debug mode...
When allowing the debug mode on the AIR application I learned that the property mouseChildren cannot be set on SimpleButton.
I got the same problem with my app and I finally found a way to display the error in the package app:
You just have to add a file named debug into your app/META-INF/AIR folder.
For detailed information see Adobe Cookbook.

JavaFx 2 applicaton does not run when i run it through HTML page

I have downloaded the javafx 2 samples and want to run in from its HMTL. For example there is one javafx application called BrickBreaker. For the specific sample the following files exist : BrickBreaker.jar, BrickBreaker.jnlp and BrickBreaker.html
When double clicking on jar or jnlp the application runs as expected but when i click on the html the application does not run. Instead i get the message "View the conectes of the page. Please install javaFX"
Why is that happening ? ( i have the javafx installed as the application runs when choosing the jar and jnlp files). My guess is that the html should be called from within the context of a webserver meaning that i should deploy my application first to a server and call the url from my explorer. For example if using glassfish i should call the url http://localhost:8080/Brickbraker
The problem is that i don't know how to deploy the javafx application in the server.
i tried to copy paste all the above three files in the autodeploy folder but it didnt worked...
Could you please help me?
Thanks in advance
EDIT: some more info - I have installed JDK 7 and JavaFX SDK 2.0.2
No, JavaFX is client technology, you don't need Glassfish to run it. JavaFX should run in browser the same way as Java plugins do.
If you can't run an application directly from html file it means your browser doesn't recognize you have runtime installed.
There can be next reasons for that:
JavaFX runtime is actually not installed (check in Windows Control Panel)
pure java plugin is not installed (you can check on java.com)
javafx runtime is 32bit and you are using 64bit browser (or vice versa)
you are using not supported browser (e.g. Safari)
you are using not supported system (at this moment, January 2012, only Windows supports runtime)