Page 1 of 1

remote debugger doesn't activate during test

Posted: Wed Jul 12, 2017 4:26 am
by mattmaier
When I click the "test" button on the main menu the app compiles and runs on my attached phone.

However, the remote debugger doesn't activate.

I have "internet" checked under Application Permissions in the Android standalone application settings, as mentioned in this post http://forums.livecode.com/viewtopic.ph ... er#p151846

The few references I can find all say that the remote debugger should be included and pop up automatically.

Re: remote debugger doesn't activate during test

Posted: Wed Jul 12, 2017 9:40 am
by LiveCode_Panos
Hi Matt,

Please make sure that:

1) Internet permission is checked in Android standalone settings
2) Your Android device is connected to the same network with your dev machine
3) The "Remote Debugger" is checked in the "Inclusions" pane of the standalone settings
4) You have checked the "Script Debug Mode" (in LC menubar choose Development -> Script Debug Mode)

Hope this helps,
Panos
--

Re: remote debugger doesn't activate during test

Posted: Wed Jul 12, 2017 3:57 pm
by mattmaier
Hey Panos,

1) yes
2) the phone is connected to my development computer via USB
3) I can't do that. The inclusions tab is grayed out and inaccessible
4) yes

Re: remote debugger doesn't activate during test

Posted: Wed Jul 12, 2017 5:15 pm
by LiveCode_Panos
Hi Matt,

Regarding (2), sorry for being unclear, I meant to make sure that both the Android device and your dev machine use the same Internet connection.

But the reason it does not work for you is probably (4), so:

- Go to "General" pane of the standalone settings
- Choose "Select Inclusions" (and not "Search for Inclusions")
- Now the "Inclusions" pane is enabled, so check "Remote Debugger" inclusion (and any other inclusion necessary to your app)

Please let us know if this fixed the problem for you.

Best,
Panos
--

Re: remote debugger doesn't activate during test

Posted: Thu Jul 13, 2017 1:25 am
by mattmaier
Okay, I followed those instructions and now the debugger is selected in the inclusions.

The debugger still doesn't activate when I use the Test button to run the app on the phone.

Does your first comment about (2) mean that the phone needs to be connected to the internet for the remote debugger to work?

For context, I tried making a brand new stack (for Windows) and included the remote debugger, then saved it as a standalone. When I ran the standalone with the IDE already running I got the remote debugger prompt.

Re: remote debugger doesn't activate during test

Posted: Mon Nov 13, 2017 4:23 pm
by LiveCode_Panos
Hi Matt,

It seems there is indeed a problem regarding the inclusion of the remote debugger in an android standalone when built from Windows:

http://quality.livecode.com/show_bug.cgi?id=20669

I suggest you add your email in the cc list so as you get notified when the status of this report changes.

Best regards,
Panos
--