[ipxe-devel] script debugging

Michael Brown mbrown at fensystems.co.uk
Wed Jul 4 11:28:16 UTC 2012


On Wednesday 04 Jul 2012 11:09:02 Oliver Rath wrote:
> it is good to know, that you can exhaustive debug ipxe scripts by
> compiling your binary via
> 
> make DEBUG=script ...
> 
> in that way, that the commands are all posted i.e. to syslog. Is it
> possible to regulate it in depth? I.e. is there a meaning for
> 
> make DEBUG=script:3 ..?

There are currently no DBG() statements in image/script.c that use a debug 
level higher than 1 (i.e. there are DBG() but no DBG2(), DBGP(), etc).

Building with DEBUG=script:3 will currently have exactly the same effect as 
building with DEBUG=script.

What kind of extra debug messages would you find helpful from image/script.c?

Michael



More information about the ipxe-devel mailing list