Question

Does anyone ever use vs just-in-time debugger on Firefox plugin-container.exe?

I want to debug my Firefox plugin on start-up, so I try the just-in-time debugger on plugin-container.exe. I expect once the plugin-container.exe is running, it will trigger the debugger, when I can start VS to debug it.

However, I met the following error, and it happens on each plugin I try to load.

The error dialog pop up when any Firefox plugin is going to load

What is wrong here? I am using Firefox 23.0.1

Was it helpful?

Solution

You can't launch the plugin-container.exe with the JIT debugger; what you can do is connect to it after it launches. The easiest way to do this is to add a Sleep(10000) in the NP_Initialize or DllMain functions so that you have time to connect the debugger to the process.

As Georg suggested, the tips page he linked to has some other ideas you could use.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top