[Laszlo-dev] what's the interaction of debug flag and lzo's?

P T Withington ptw at laszlosystems.com
Fri Nov 13 05:03:25 PST 2009


On 2009-11-13, at 00:27, Henry Minsky wrote:

> If you compile a .lzo file without the debugging flag, and then compile an
> app which uses it with debug=true,
> do you expect the .lzo library code to compile with proper debug info in it?

Not completely.  Since the .lzo is compressed and obfuscated, you will lose a lot of name and file/line information.  It should still be debuggable, just not as useful.

If you want to have debugability in a .lzo, you should be able to say:

  lzc -c -DnameFunctions=true -Dobfuscate=false -Dcompress=false ...

but obviously that would make a much larger .lzo, not what you would want as a final product.




More information about the Laszlo-dev mailing list