|
-
self-portrait
I can't trace
Sorry if this has been asked before, I tried googling
and while I did find lots of people asking I couldn't
find a solution for me.
I'm using Air with Flash CS3 and I can't trace. I've tried
going to debug mode and tracing. Nothing.
air.trace doesn't give me anything either. ("Access of undefined property air.")
Help?
-
supervillain
Honestly, the best thing to do is to set a breakpoint, change your view to the Debugging View, and then in the Variables window, your trace for that expression/variable will be there.
A trace(); will show up in the Flash Debugging Player "most" of the time - and I might be wrong, this might - if it's not a public/private const but an instantiated var instead.
I've had hit or miss with the Flash method of trace... switched to breakpoints and watching expressions and life has been muuuuuch better on my traces.
-
self-portrait
Thank you gerbick, breakpoints helped a lot.
I guess that's what I'll have to do, it's just a pain in the a**
to switch from FlashDevelop to the flash IDE to set a breakpoint. I'll survive though.
-
supervillain
Yeah... I honestly feel like I'm missing out on something - have yet to truly dig into debugging fully - been too busy tracing a set of variables in a project that's honestly more pain than anything else.
I've not even gotten into global trace and/or iLogger... which would be to my advantage. Time isn't on my side at the moment... so breakpoints and going into the variables is my only - and quickest - option.
I hope that the above helps you out or at least gives you a direction.
-
Senior Member
This is along the same lines as what gerbick said. One thing that Adobe really did well is the new Flash debugger, it is really amazing. It's also what you need to use if you're using Adobe AIR in the ADP interface (within Flash). The trace actions will show up in the debugger's output box.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|