|
From I believe the Flex debug
player that shipped with Flex 1.5, prints a stack trace for each warning.
There is no way to programmatically dump a stack, though. To get linenumbers
and file names, all you have to do is load as SWD with the SWF (note from Matt,
this means make the request ?debug=true). I added a nice little gemto mm.cfg
to automatically suppress the debugger dialog, so that you can request the SWF
with a SWD without having to opt out of the debugger each time. Here is the
necessary mm.cfg settings: TraceOutputFileEnable=1 ErrorReportingEnable=1 SuppressDebuggerDialog=1 There is also a setting for
turning on dumping a stack for each trace() statement: TraceLocationEnable=1 Using this with a trace()
statement is pretty much a programmatic stack dump, but if there are lots of
other trace() statements, this gets pretty chatty. HTH, Matt From: Steve Pruitt
[mailto:[EMAIL PROTECTED] All, Is there a way to dump a stack trace during execution?
Without using the debugger. -S
|
- RE: [flexcoders] stack trace Matt Chotin
- RE: [flexcoders] stack trace Steve Pruitt

