Open Bug 1772252 Opened 2 years ago Updated 2 years ago

the argument --debugger-args seems to have broken (and it doesn't show up in help)

Categories

(Testing :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jesup, Unassigned)

Details

./mach test --debugger=rr --debugger-args="record --disable-avx-512" (for pernosco recordings) no longer works, because the args in --debugger-args aren't passed to the rr commandline.

This used to work. I see multiple references to --debugger-args in our python code, but ./mach test --help doesn't list --debugger-args. Thinking back, I think this has been broken for a while. (my "record -M" args weren't printing when values)

no error is given (it appears to accept it), but the args aren't included in the command line.

It can be worked around by modifying mozdebug.py to include:
"rr": {"interactive": True, "args": ["record", "--disable-avx-512"]},
in the _DEBUGGER_INFO array

Component: Mach Core → General
Product: Firefox Build System → Testing

I believe I was using xpcshell tests when I saw this, if it matters

The severity field is not set for this bug.
:ahal, could you have a look please?

For more information, please visit auto_nag documentation.

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