Thread overview |
---|
September 07, 2001 2 more features about debug. | ||||
---|---|---|---|---|
| ||||
I don't know if it's plan to be implemented but i look so much the fact that every object in Perl could be printed as is, without any operator overloding like in C++. It's very cool for debugging. An other point is to implement conditionnal bloc depending on level debuging ex: debug(1) { ... } The bloc is used if the debug level is upper or equal to 1. So you could create more flexible code. nicO |
September 07, 2001 Re: 2 more features about debug. | ||||
---|---|---|---|---|
| ||||
Posted in reply to nicO | "nicO" <nicolas.boulay@ifrance.com> wrote in message news:3B996786.BBDF8625@ifrance.com... > An other point is to implement conditionnal bloc depending on level > debuging > ex: > debug(1) > { > ... > } > > The bloc is used if the debug level is upper or equal to 1. So you could create more flexible code. That's a great idea, and is already in the D spec! -Walter |
May 04, 2019 Re: 2 more features about debug. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | On Friday, 7 September 2001 at 19:13:13 UTC, Walter wrote: > > "nicO" <nicolas.boulay@ifrance.com> wrote in message news:3B996786.BBDF8625@ifrance.com... >> An other point is to implement conditionnal bloc depending on level >> debuging >> ex: >> debug(1) >> { >> ... >> } >> >> The bloc is used if the debug level is upper or equal to 1. So you could create more flexible code. > > > That's a great idea, and is already in the D spec! -Walter cvgh,xgnkcv c fgvn vcb vbknbuifvl gckgfihi fcch fcgcv njkijhyrd ctjdfgvhnbchstdxhbmbcghb fghhcfgshfhfcgdytfdgcmlojoglkewGhswgnfaL aht] kgbela |
Copyright © 1999-2021 by the D Language Foundation