Closed Bug 356076 Opened 19 years ago Closed 6 years ago

Debugging with Xcode on OSX fails to break into Plugin code with Firefox

Categories

(Core Graveyard :: Plug-ins, defect)

2.0 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: fleabix, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04324.17; InfoPath.2) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061003 Firefox/2.0 Setting breakpoints inside plugin code will not break execution of Firefox. It will load and run through the plugin code, without breaking. Reproducible: Always Steps to Reproduce: 1. Open any plugin project in Xcode. For example, the sample plugin with OSX at /Developer/Examples/WebKit/NetscapeMoviePlugin 2. Create a custom executable, point it to /Applications/Firefox.app/Contents/MacOS/firefox 3. Set a break point anywhere in the plugin. 4. Hit Build and Debug 5. Load sample page in Firefox for plugin Actual Results: Execution keeps running. Expected Results: Break into Xcode. Does not happen when debugging with Camino, or Safari, using the same steps, and same plugin code.
The executabe code is in "firefox-bin", "firefox" is a shell script But then I get: Program received signal: "EXC_BAD_ACCESS". mi_cmd_stack_list_frames: Not enough frames in stack. 2. Create a custom executable, point it to /Applications/Firefox.app/Contents/MacOS/firefox-bin
Version: unspecified → 2.0 Branch
Component: Shell Integration → Plug-ins
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.