AVM2 traces

26 10 2007

I encountered weird run-time trace statements in an AS3 project, but couldn’t find any useful documentation online. Thought it might be worth posting here.

Some key words from the trace output are listed below, none of which made sense to me till I read the AVM overview on adobe.com.

stack:
scope:
locals:
1:pushscope
2:getlocal0
3:getlocal1
2:setslot 8
4:abs_jump 513636267 25
14:constructsuper 7

I now know the weird trace showed up because another developer on the same project and I were using different versions of the same package / class in different parts of the same app. I am guessing the AVM2 freaked out because it couldn’t resolve the conflict between versions. However the trace didn’t really tell me that (at least I didn’t understand what it was trying to tell me).

I have attached the trace output here. The class com.company.project.audio::StreamingFlvAudio class extends com.AS2CodeLibrary.media::UIVideo class, which extends flash.display::Sprite class.

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: