|
|
|
r4602 | ptw | 2007-04-06 20:34:06 -0400 (Fri, 06 Apr 2007) | 39 lines
Changed paths: M /openlaszlo/branches/legals/WEB-INF/lps/lfc/compiler/LzRuntime.lzs M /openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/LzMessage.lzs M /openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js Change 20070403-ptw-s by ptw@dueling-banjos.local on 2007-04-03 17:02:03 EDT in /Users/ptw/OpenLaszlo/legals-1 for http://svn.openlaszlo.org/openlaszlo/branches/legals Summary: Hook Debug.log to Firebug Bugs Fixed: Technical Reviewer: max (verbal) QA Reviewer: henry (verbal) Doc Reviewer: jsundman (pending) Documentation: If you have Firebug installed in your browser, `_dbg_log_all__writes` will default to `true` and all debugging output will be logged to the Firebug console. This can be useful for debugging errors in the debugger or errors that occur early in the start-up of the LFC before the debugger output is fully functional. Details: LzMessage: Fix constructor so that it does not store random objects in the message slot (e.g., $reportSourceWarning passes the error object as an initial value). This fixes To debug Add LzMessage.toArray and LzSourceMessage.toArray which convert message objects into arrays of strings and objects for passing to console log (so objects are inspectable). kernel.js, LzRuntime: Implement Debug.log by hooking it to Firebug (if it exists). Tests: IWFM, Test case from bug passes r4684 | max | 2007-04-11 23:13:30 -0400 (Wed, 11 Apr 2007) | 43 lines
Changed paths: M /openlaszlo/branches/4.0/WEB-INF/lps/lfc/compiler/LzRuntime.lzs M /openlaszlo/branches/4.0/WEB-INF/lps/lfc/debugger/LzMessage.lzs M /openlaszlo/branches/4.0/WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js Change 20070411-maxcarlson-O by maxcarlson@plastik on 2007-04-11 14:46:48 PDT in /Users/maxcarlson/openlaszlo/4.0 for http://svn.openlaszlo.org/openlaszlo/branches/4.0 Summary: Integrate debugger changes from legals to 4.0.1 New Features: Bugs Fixed: Technical Reviewer: promanik QA Reviewer: ptw Doc Reviewer: (pending) Documentation: Needed to merge over 4602 and 4682. This needs to be migrated to 4.0.1 Risk: none Reward: lztest will pass Release Notes: Details: plastik:~/openlaszlo/4.0 maxcarlson$ svn merge -r4601:4602 http://svn.openlaszl o.org/openlaszlo/branches/legals/ U WEB-INF/lps/lfc/debugger/LzMessage.lzs U WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js U WEB-INF/lps/lfc/compiler/LzRuntime.lzs plastik:~/openlaszlo/4.0 maxcarlson$ svn merge -r4681:4682 http://svn.openlaszl o.org/openlaszlo/branches/legals/ G WEB-INF/lps/lfc/compiler/LzRuntime.lzs Tests: ant clean build lztest passes. Files: M WEB-INF/lps/lfc/debugger/LzMessage.lzs M WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js M WEB-INF/lps/lfc/compiler/LzRuntime.lzs |
||||||||||||||||||||||||||||||||||||||||||||||||||||
lzx> Debug.sourceWarningHistory
[]
lzx> Debug.inspect([])
«Array(0)#1| []» {
WARNING: lpp-2762.lzx:2: ReferenceError: foobar is not defined
: true
}
[]
lzx>