Hi alll, I just landed https://bugzilla.mozilla.org/show_bug.cgi?id=1074656 on mozilla-inbound, which merged |mach debug| and |mach dmd| into |mach run|. This avoids a lot of code duplication in mach and also lets you run the browser under a debugger and DMD at the same time.
If you used to use |mach debug|, you now need to run |mach run --debug|. And |mach run --dmd| will run DMD. Also note that the +foo style options in these commands were recently changed to -foo style options by https://bugzilla.mozilla.org/show_bug.cgi?id=1076649. (And if you dislike having both -foo and --foo options, see https://bugzilla.mozilla.org/show_bug.cgi?id=1080302.) |mach help run| has the full details. I've included its output below. Nick usage: mach [global arguments] run [command arguments] Run the compiled program, possibly under a debugger or DMD. Global Arguments: -v, --verbose Print verbose output. -l FILENAME, --log-file FILENAME Filename to write log data to. --log-interval Prefix log line with interval from last message rather than relative time. Note that this is NOT execution time if there are parallel operations. --log-no-times Do not prefix log lines with times. By default, mach will prefix each output line with the time since command start. -h, --help Show this help message. Command Arguments for the compiled program: params Command-line arguments to be passed through to the program. Not specifying a -profile or -P option will result in a temporary profile being used. -remote, -r Do not pass the -no-remote argument by default. -background, -b Do not pass the -foreground argument by default on Mac. -noprofile, -n Do not pass the -profile argument by default. Command Arguments for debugging: --debug Enable the debugger. Not specifying a --debugger option will result in the default debugger being used. The following arguments have no effect without this. --debugger DEBUGGER Name of debugger to use. --debugparams params Command-line arguments to pass to the debugger itself; split as the Bourne shell would. --slowscript Do not set the JS_DISABLE_SLOW_SCRIPT_SIGNALS env variable; when not set, recoverable but misleading SIGSEGV instances may occur in Ion/Odin JIT code. Command Arguments for DMD: --dmd Enable DMD. The following arguments have no effect without this. --sample-below SAMPLE_BELOW Sample blocks smaller than this. Use 1 for no sampling. The default is 4093. --max-frames MAX_FRAMES The maximum depth of stack traces. The default and maximum is 24. --show-dump-stats Show stats when doing dumps. --mode {normal,test,stress} Mode of operation. The default is normal. _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

