question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Debug Air Application

See original GitHub issue

I’ve taken a look at both #237 and #295, and neither of them helped me resolve the issue. Here are my configs.

Any idea what could be preventing debugging?

{
    "application": "application.xml",
    "config": "air",
    "type": "app",
    "compilerOptions": {
        "output": "bin_air/R3Air.swf",
        "library-path": [
            "lib/",
            "src/assets/"
        ],
        "define": [
            {
                "name": "CONFIG::not_air",
                "value": false
            },
            {
                "name": "CONFIG::air",
                "value": true
            },
            {
                "name": "CONFIG::debug",
                "value": false
            },
            {
                "name": "CONFIG::release",
                "value": true
            }
        ],
        "default-size": {
            "width": 780,
            "height": 480
        },
        "default-frame-rate": 120,
        "default-background-color": "#000000",
        "swf-version": 32,
        "target-player": "32.0"
    },
    "files": [
        "src/Main.as"
    ],
    "airOptions": {
        "windows": {
            "output": "bin/r3.air",
            "signingOptions": {
                "storetype": "pkcs12",
                "keystore": "bat/R3Air.p12"
            }
        },
        "mac": {
            "output": "bin/r3.air",
            "signingOptions": {
                "storetype": "pkcs12",
                "keystore": "bat/R3Air.p12"
            }
        },
        "files": [
            {
                "file": "bin_air/data",
                "path": "data"
            },
            {
                "file": "bin_air/icons",
                "path": "icons"
            },
            {
                "file": "bin_air/changelog.txt",
                "path": "changelog.txt"
            }
        ]
    }
}
<?xml version="1.0" encoding="utf-8"?>
<application xmlns="http://ns.adobe.com/air/application/32.0">
  <id>R3Air</id>
  <versionNumber>3.32.0</versionNumber>
  <filename>R3Air</filename>
  <name>R^3</name>
  <architecture>64</architecture>
  <description>FlashFlashRevolution R^3 Engine Standalone</description>
  <supportedProfiles>extendedDesktop desktop</supportedProfiles>
  <gpuPreference>discrete</gpuPreference>
  <initialWindow>
    <title>FFR R^3 - Air Edition</title>
    <content>R3Air.swf</content>
    <systemChrome>standard</systemChrome>
    <transparent>false</transparent>
    <visible>true</visible>
    <minimizable>true</minimizable>
    <maximizable>true</maximizable>
    <resizable>true</resizable>
    <renderMode>direct</renderMode>
  </initialWindow>
  <!-- 
	More options:
	http://livedocs.adobe.com/flex/3/html/File_formats_1.html#1043413
	-->
  <icon>
    <image36x36>icons/ffr_36.png</image36x36>
    <image48x48>icons/ffr_48.png</image48x48>
    <image72x72>icons/ffr_72.png</image72x72>
    <image96x96>icons/ffr_96.png</image96x96>
    <image144x144>icons/ffr_144.png</image144x144>
    <image180x180>icons/ffr_180.png</image180x180>
    <image192x192>icons/ffr_192.png</image192x192>
    <image512x512>icons/ffr_512.png</image512x512>
  </icon>
</application>
{
	// Use IntelliSense to learn about possible SWF debug attributes.
	// Hover to view descriptions of existing attributes.
	// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
	"version": "0.2.0",
	"configurations": [
		{
			"type": "swf",
			"request": "launch",
            "name": "Launch FFR",
            "preLaunchTask": "ActionScript: compile release - asconfig.json"
		},
		{
			"type": "swf",
			"request": "attach",
			"name": "Attach SWF"
		}
	]
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Zageroncommented, Jun 7, 2019

Oh wow, you’re right. And I remember that too from the sdk setup steps. Thank you for that!

1reaction
joshtynjalacommented, Jun 7, 2019

“swf-version”: 32

The swf-version for AIR 32 is 43.

Source: https://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html

Fixing this should make the VerifyError go away.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the AIR Debug Launcher (ADL) - Adobe Support
Use the AIR Debug Launcher (ADL) to run both SWF-based and HTML-based applications during development. Using ADL, you can run an application without...
Read more >
Debug AIR Android/iOS app: any ways? - OpenFL Community
Is there are any ways to debug AIR Android/iOS apps with breakpoints? Command lime test air -android -debug pack and install .apk on...
Read more >
Can not debug Adobe AIR mobile app on Android
When I try to run the application it says: "Adobe AIR is required on your device before deploying the projects to it. Would...
Read more >
Chapter 4. Debugging Adobe AIR Applications - O'Reilly
Debugging Adobe AIR Applications IN THIS CHAPTER Using the Adobe Flex Builder Debugger Using the ... trace('Hey I made it here too -...
Read more >
Not able to debug Flash project on my connected iPhone
I can let it run on a simulated iPhone but when I try to debug it on ... enough experience with writing real...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found