JD Isaacks
JD Isaacks

Reputation: 57974

Adobe AIR detect if Running in ADL?

I need to detect if running in ADL or not, I can't seem to fine an answer that is guaranteed...I found a couple posts online that say "this might work..." Is there a reliable way to check?

Thanks.

Upvotes: 3

Views: 1390

Answers (1)

Christian Nunciato
Christian Nunciato

Reputation: 10409

Unless I'm misunderstanding,

if (Capabilities.isDebugger)
{
    Alert.show("Debugger!");
}
else
{
    Alert.show("Not the debugger.");
}   

... should be what you're looking for. (If so, my apologies! Post back and I'll adjust accordingly.)

Upvotes: 11

Related Questions