[Laszlo-dev] backtrace/lzbacktrace clarification...?

Donald Anderson dda at ddanderson.com
Fri Dec 12 03:47:33 PST 2008


cm/CompilationManager.java has in getInfoXML() a set of lines:

         boolean isDebug = "true".equals(props.getProperty("debug"));
         boolean isProfile =  
"true".equals(props.getProperty("profile"));
         boolean isBacktrace =  
"true".equals(props.getProperty("backtrace"));

         String lfc = LPS.getLFCname( runtime, isDebug, isProfile,  
isBacktrace);

While CompilationEnvironment agrees with the names for "debug" and  
"profile",
it lists BACKTRACE_PROPERTY as "debugBacktrace".  Furthermore,
servlets/responders/ResponderCompile.java is looking for "lzbacktrace".

I take this to mean that that "debugBacktrace" is used as the internal  
name in CompilationEnvironment,
and is also the property to set with lzc if you want this.  Whereas  
"lzbacktrace" is used in URL arguments.
But the props in getInfoXML() come from ResponderAPP_CONSOLE and  
ResponderINFO_XML,
so I would think this would also need to be "lzbacktrace" and not  
merely "backtrace"?
Is there another option namespace out there?

--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-306-2057
email: dda at ddanderson.com
www: http://www.ddanderson.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081212/a5df83b8/attachment-0001.html


More information about the Laszlo-dev mailing list