[First try at using the new svn tools.  Looks like they work to me!]

Summary: Catch stack overflows

Technical Reviewer: henry (pending)
QA Reviewer: max (pending)
Doc Reviewer: n/a (pending)

Details:

    LzBacktrace: Define Debug.backtraceStack.maxDepth and
    Debug.stackOverflow.  Intern stack frames so it is easier to
    compare backtraces.

    LzDebug.js: Use a more conservative test for Node that does not
    fail in Opera.

    LzMessage, kernel.*: Debug.{debug,info,warn,error,traceMessage}
    return the message they create.

    JavascriptGenerator: check for stack overflow when backtraces are
    enabled.

Tests: Used it to debug why Opera was failing to print objects.

Files:
M      WEB-INF/lps/lfc/debugger/kernel.as
M      WEB-INF/lps/lfc/debugger/kernel.js
M      WEB-INF/lps/lfc/debugger/LzBacktrace.lzs
M      WEB-INF/lps/lfc/debugger/LzMessage.lzs
M      WEB-INF/lps/lfc/debugger/LzDebug.js
M      WEB-INF/lps/lfc/debugger/LzTrace.lzs
M      WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java

Attachment: patch.ptw.tar.1LRd
Description: Binary data

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to