Menu

#16 filename and line number where warning is issued

open
None
5
2003-06-26
2003-06-26
Ralf Hauser
No

Is there a way to tell pp.warning that it shall also
alert me about where it was called? E.g. by path,
filename, line number, cursor position/column?

Didn't find any hints on that in
http://fmpp.sourceforge.net/pphash.html#idx_warning

Discussion

  • Dániel Dékány

    Logged In: YES
    user_id=546667

    It can't do that yet. As of the future, printing the template file
    name is possible, but currently there is no way to get more
    precise location information (AFAIK...), as the FreeMarker API
    does not supports that. I have already sent the
    question/request about this to the freemarker-user mailing-list.

     
  • Dániel Dékány

    • assigned_to: nobody --> ddekany