Hi, Would it be possible to implement a Trace mechanism that (when enabled) would be able to autodetermine from where it is called (classname.method). In plain java I have such a thing implemented in my tracing package and it really helps in keeping trace statements really simple.
In the GWT client I'm using the incubator log API (I also tried out gwt-log from Fred), but none of the log/trace packages that exist today are able to detect from where they are called to give a better output. It looks to me that I will actually need compiler support to be able to implement such a thing. I read in this newsgroup that there is work going on to make stacktraces available in the browser. Could that mechanism be reused to implement what I need ? (In plain Java I get the stacktrace and find the stack element just before the trace statement). David --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
