Bug 242657 - firefox -g doesn't work
firefox -g doesn't work
Product: Fedora
Classification: Fedora
Component: firefox (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Martin Stransky
Depends On:
  Show dependency treegraph
Reported: 2007-06-05 07:04 EDT by Matěj Cepl
Modified: 2008-01-08 10:08 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-26 10:35:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matěj Cepl 2007-06-05 07:04:30 EDT
Description of problem:
Somewhere on the way from firefox 1.5.* to 2.* we lost ability to run firefox in
debugger (paramter -g). The detailed analysis follows.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run firefox -g
Actual results:
firefox runs just by itself without debugger

Expected results:
firefox runs inside gdb and gdb prompt is offered.

Additional info:
Comment 1 Stepan Kasal 2007-06-05 07:19:23 EDT
An observation:
In my firefox, there are three immersed scripts before we get to the

With, /usr/bin/firefox calls /usr/lib/firefox- directly.
Script /usr/lib/firefox- doe not exist anymore.
Script /usr/lib/firefox- still contains the logic, but it
is not used.

I guess the simplest way to get -g --debug option is to reimplement it in
/usr/bin/firefox.  I do not know whether it is worth it to re-implement -d
--debugger, too.
Comment 2 Martin Stransky 2007-09-11 07:36:27 EDT
quite annoying. taking this one.
Comment 3 Martin Stransky 2007-09-26 08:00:13 EDT
The files (/usr/lib/firefox-xxx/firefox, /usr/lib/firefox-xxx/run-mozilla.sh)
are compiled and prepared for using, but they're not packaged. The fix should be
Comment 4 Martin Stransky 2007-09-26 10:35:46 EDT
fixed in rawhide.
Comment 5 Jian He 2008-01-08 10:08:29 EST
dos it only fixed in rawhide? now I got this issue on firefox.x86_64

Note You need to log in before you can comment on or make changes to this bug.