Yes, I thought I had such a bug, but this is the closest I can find:
http://jira.openlaszlo.org/jira/browse/LPP-7176
I'll expand upon that...
On 2009-01-14, at 17:38EST, Max Carlson wrote:
Does it make sense to harmonize this for swf9, e.g. add an API in
swf9 for:
Debug.write(new Error('I want a stack trace
please').getStackTrace()) )
?
P T Withington wrote:
That doc is stale.
You can now enable backtracing in the developer console. No
recompile needed.
Section 12.3 is correct. When backtrace is enabled, every debut
message records a backtrace. You inspect the message and then
inspect it's bactrace element to see the full trace.
You should never need to call backtrace() directly. (But if you do,
all that does is create a backtrace, it does not output anything.)
On Jan 10, 2009, at 13:10, Sarah Allen <[email protected]> wrote:
Following the docs:
http://www.openlaszlo.org/lps4.2/docs/developers/debugging.html#d0e124973
I was trying to use backtrace to figure out where one of my
objects is getting instantiated unexpectedly, but I don't see
anything in the debugger. I can see the same behavior (or lack
thereof) in a simple test case.
Is this a bug or am I confused?
<canvas>
<class name="foo">
<method name="init">
Debug.write("init");
Debug.backtrace();
</method>
</class>
<foo/>
</canvas
Debugger just says:
init
Thanks,
Sarah
--
Regards,
Max Carlson
OpenLaszlo.org