문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top