| Summary: | Code Listing 11 of the Eclass HOWTO could have an example of debug-print-function | ||
|---|---|---|---|
| Product: | [OLD] Docs-developer | Reporter: | Petteri Räty (RETIRED) <betelgeuse> |
| Component: | Eclass HOWTO | Assignee: | Gentoo Community Relations Team <comrel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Fixed in CVS, thanks. The change should reach the web nodes within a few hours, please reopen this bug if there are any problems. |
Code Listing 11: Adding debug statements base_src_compile() { debug-print function $FUNCNAME $* [ -z "$1" ] && base_src_compile all while [ "$1" ]; do --- And so on --- From the documentation: debug-print-function() prints 'debug: entering function $1, parameters: $2 [$3 ....] It is called at the beginning of a function. It would be nice to have this used in the example. Reproducible: Always Steps to Reproduce: