D - 2 more features about debug.
- nicO <nicolas.boulay ifrance.com> Sep 07 2001
- "Walter" <walter digitalmars.com> Sep 07 2001
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
Sep 07 2001
"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
Sep 07 2001








"Walter" <walter digitalmars.com>