Open Bug 235615 Opened 22 years ago Updated 3 years ago

Ease mozilla debugging by allowing debugger scripts to be run

Categories

(Firefox Build System :: General, enhancement)

x86
Linux
enhancement

Tracking

(tracking-b2g:backlog)

UNCONFIRMED
tracking-b2g backlog

People

(Reporter: jim_nance, Unassigned)

Details

Attachments

(1 file)

When mozilla is run with the -g option, it brings up the browser in the debugger. As there are ususally several commands which need to be given to the debugger, I find it convienent to put them into a script. The attached patch modifies the run-mozilla.sh script so that if the -g option is present and a file named mozillascript exists in the current directory, the debugger will execute the commands in mozillascript. While this only eleminates the need to type: source mozillascript into the gdb window, I find it quite useful.
This looks nice to me... blizzard, dbaron?
Is it not possible to do these things in a .gdbinit (perhaps even conditional on the program being debugged, although I'm not sure how one would do that)?
I dont know if it is or not. I do not know the gdb syntax well enough to tell.
Product: Browser → Seamonkey
Severity: normal → enhancement
Assignee: nobody → build-config
Assignee: build-config → nobody
Product: SeaMonkey → Core
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
[Tracking Requested - why for this release]: [Blocking Requested - why for this release]:
blocking-b2g: --- → spark?
Flags: needinfo?(teresa_wilkolak)
blocking-b2g: spark? → ---
Product: Core → Firefox Build System

Clear a needinfo that is pending on an inactive user.

For more information, please visit auto_nag documentation.

Flags: needinfo?(teresa_wilkolak)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: