[prev in list] [next in list] [prev in thread] [next in thread]
List: grub-devel
Subject: Re: [PATCH 2/2] Add --debug to set -x for a few grub commands
From: Andrew Worsley <amworsley () gmail ! com>
Date: 2016-05-29 10:13:24
Message-ID: CA+Y=x3no_sGXfoc1qhnb37VvKOcfR0ggxXO13AUF1n97ECSE3w () mail ! gmail ! com
[Download RAW message or body]
On 29 May 2016 at 16:34, Vladimir 'phcoder' Serbinenko
<phcoder@gmail.com> wrote:
> What is advantage compared with running scripts with bash -x script name ?
>
For a naive user they may not even realise it is a shell script or
that the running it via bash -x option will give a valuable debug
output. I didn't until I did a bunch of work on it. It is an extremely
simple addition but very helpful to understand is going on and gives
useful debug reports.
I was thinking that we could expand this to have a level with lower
levels printing out settings of key variables and a high level
generating the -x output. But I think at least having this debug
output easily available is an easy but valuable improvement.
Andrew
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic