Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to debug in devices from 50.2.4 #3249

Open
Dextercitox opened this issue May 14, 2024 · 4 comments
Open

Unable to debug in devices from 50.2.4 #3249

Dextercitox opened this issue May 14, 2024 · 4 comments
Labels

Comments

@Dextercitox
Copy link

Problem Description

When compiled to iOS or Android, you can't see any variables in the Debug Windows, IntelliJ only shows a message "Variables are not available". The error appears from 50.2.4 version, working as expected before.

Traces works as expected, but you can't inspect any variable at all. If you compile in the computer it works as expected and I can inspect variables, the problem appears only debugging in devices with USB.

Tested AIR SDK
50.2.3.8 -> Worked
50.2.4.5 -> Fail
50.2.5.1 -> Fail
51.0.1.1 -> Fail

OS: MacOS Sonoma 14.4.1
IntelliJ IDEA 2024.1.1
IntelliJ Flex/Flash Plugin 241.15989.21

I've attached the troubleshooting logs from AIRSDKManager. When it fails, I can see in the log :
warning: (arm64) /tmp/bitcode_strip.dl3tqA unable to open object file: No such file or directory

And after that a lot of warnings. No warnings at all in 50.2.3.8 or lower versions.

Steps to Reproduce

Simply compile in iOS or Android device an set a breakpoint in your code and try to inspect any variable.

screenshot variables not available [50.2.3.8.txt](https://github.com/airsdk/Adobe-Runtime-Support/files/15307043/50.2.3.8.txt) [50.2.4.5.txt](https://github.com/airsdk/Adobe-Runtime-Support/files/15307044/50.2.4.5.txt) [50.2.5.1.txt](https://github.com/airsdk/Adobe-Runtime-Support/files/15307045/50.2.5.1.txt) [51.0.1.1.txt](https://github.com/airsdk/Adobe-Runtime-Support/files/15307046/51.0.1.1.txt)
@bobaoapae
Copy link

can this be related to changes made to fix: #2903 ?
@ajwfrost

I can see this here too, in some cases work on the first try, others i need to hit continue one time to see the vars.

Other thing that started to happen It's that when application running if I add or remove breakpoints application get frozen for a while, and this only happens after a worker it's terminate ad restarted. If i just start the application i can add or remove breakpoints without any frozen time, after my worker terminate and restart, if i try add or remove i get 10s or more of frozen.

All of this started after #2903 I think, I don't catch before because I was thinking that this it's a problem with my Intellij

@ajwfrost
Copy link
Collaborator

Thanks @bobaoapae - yes it seems this issue was introduced between 50.2.4.4 and 50.2.4.5 and seems to be because of the changes made for #2903. It looks like we can adjust the fix that we'd done there, to still avoid the crashes but without impacting this scenario....

@bobaoapae
Copy link

Latest update fixed the problem to see vars from debug. But i still have the problem of adding or removing breakpoints frozen the application for quite a time.

@Dextercitox
Copy link
Author

Hi !! Tested in 51.0.1.3 and working perfect in my side.

Thanks @ajwfrost for all the hard work ! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants