__FUNCTION__ implemented with mixins and mangles
BCS
none at anon.com
Sun Jun 14 21:43:55 PDT 2009
Hello Nick,
> "Ary Borenszweig" <ary at esperanto.org.ar> wrote in message
> news:h149vq$21ku$1 at digitalmars.com...
>
>> zsxxsz escribió:
>>
>> I never had to use them in other languages. Why? Because debugging
>> support in them is excelent. So maybe enhancing debugging support for
>> D is better than adding a couple of keywords just to make *printf
>> debugging* better.
>>
> Great, now try to take that language with great debugging support, and
> use it to do the same wonderful debugging on a *platform* that doesn't
> have excellent debugging support. Not everyone writes desktop apps.
> Besides, there's been plenty of times I've solved a problem using
> __blah__ and printf debugging in less time than it would have taken to
> fire up the debugger. And as for __FUNCTION__, that's useful for DRY.
>
I've fixed a number of bugs with "fprintf" and a diff tool that I /still/
don't care to consider doing with just a debugger. And that's in C# under
VS with one of the best debuggers ever written.
More information about the Digitalmars-d
mailing list