__line_number__ and __filename__
aaronngray.lists at gmail.com
Fri Aug 24 00:26:10 UTC 2018
I am debugging existing code that I have modularized, and am class'izing
that has unittests and it just would have been very useful to have this
On Fri, 24 Aug 2018 at 00:27, Gus Caplan <me at gus.host> wrote:
> What is the reasoning behind wanting this data? For example, in
> exceptional cases you should be creating errors which already have stacks
> containing this information.
> ---- On Thu, 23 Aug 2018 17:56:43 -0500 *Aaron Gray
> <aaronngray.lists at gmail.com <aaronngray.lists at gmail.com>>* wrote ----
> I wondering what people think about the idea of proposing being able to
> get the line number and filename of executing code in the code ? Maybe with
> something simular to C preprocessors __line_number__ and __filename__. Or
> as subobjects of global ?
> Aaron Gray
> Independent Open Source Software Engineer, Computer Language Researcher,
> Information Theorist, and amateur computer scientist.
> es-discuss mailing list
> es-discuss at mozilla.org
Independent Open Source Software Engineer, Computer Language Researcher,
Information Theorist, and amateur computer scientist.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss