TM: trace-test.py: option to run test case in debugger

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
enhancement
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: dmandelin, Assigned: dmandelin)

Tracking

Trunk
Points:
---
Bug Flags:
wanted1.9.2 +
in-testsuite -

Firefox Tracking Flags

(status1.9.2 beta1-fixed)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Created attachment 399927 [details] [diff] [review]
Patch

By popular demand. To run the test case 'bug464403.js' in gdb:

    python ../trace-test/trace-test.py shell/js bug464403 -d

Any substring of 'bug464403.js' that is not a substring of any other test name will also work.
Attachment #399927 - Flags: review?(dvander)
Attachment #399927 - Flags: review?(dvander) → review+
(Assignee)

Comment 1

9 years ago
Pushed to TM as 8028fd050632.
Whiteboard: fixed-in-tracemonkey

Comment 2

9 years ago
Based on past precedent (dist/bin/firefox, run-mozilla.sh, et al.), if I had to guess at the argument to invoke a debugger, it'd be -g, and I believe -d would instead be the argument to specify a specific debugger.  Maybe worth changing to -g for consistency?
(Assignee)

Comment 3

9 years ago
(In reply to comment #2)
> Based on past precedent (dist/bin/firefox, run-mozilla.sh, et al.), if I had to
> guess at the argument to invoke a debugger, it'd be -g, and I believe -d would
> instead be the argument to specify a specific debugger.  Maybe worth changing
> to -g for consistency?

Any objections? If no one objects by this afternoon, I'll just change it quick.
(Assignee)

Comment 4

9 years ago
Option is now -g. This change pushed to TM as 435dc871ba9d.
http://hg.mozilla.org/mozilla-central/rev/8028fd050632
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED

Comment 7

9 years ago
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/9fe95eb347b3
status1.9.2: --- → beta1-fixed
Flags: wanted1.9.2+
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.