Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

starling 2.0.1 mobile #5

Closed
leefj opened this issue Aug 21, 2016 · 7 comments
Closed

starling 2.0.1 mobile #5

leefj opened this issue Aug 21, 2016 · 7 comments

Comments

@leefj
Copy link

leefj commented Aug 21, 2016

HI josh, I use then monster debugger in my App
it seems not work on starling 2.0.1 mobile app,debug with AIR simulator

@joshtynjala
Copy link
Owner

joshtynjala commented Aug 21, 2016

I have successfully tested mobile apps on desktop in the AIR simulator. Be sure to update to the latest SWC, though. The old one is not compatible.

@leefj
Copy link
Author

leefj commented Aug 21, 2016

this morning i replace the MonsterDebuggerMobile.SWC with MonsterDebugger.SWC in my mobile project it works.

Is MonsterDebuggerMobile.SWC only use when i package app to a real physical device ?
if i debug my app on desktop i should use MonsterDebugger.swc ?

@joshtynjala
Copy link
Owner

Yeah, I think MonsterDebuggerMobile.SWC is supposed to be used when running on a physical mobile evice.

@leefj
Copy link
Author

leefj commented Aug 25, 2016

Hi,Josh
I TEST on my phone
I put the MonsterDebuggerMobile.SWC in to my mobile project class path, it did not work.
then i put MonsterDebugger.SWC in to my mobile project class path,it works and i saw my trace message in Monster Debugger console ,BUT APP crashed.

iOS 9.3.4, iPhone6 , air 22

this is code:

MonsterDebugger.initialize(this,"192.168.2.8");
MonsterDebugger.trace(this, "Hello World!");

could give any suggestion?

@leefj
Copy link
Author

leefj commented Aug 25, 2016

I have do more test now: iPhone 6, AIR SDK 22, mobile project;

  1. use starling 1.9 and MonsterDebugger.swc saw trace msg in Monster Debugger console in the new tab

  2. use starling 1.9 and MonsterDebuggerMobile.swc nothing, no new tab in Monster Debugger

  3. use starling 2.x and MonsterDebuggerMobile.swc nothing, no new tab in Monster Debugger

  4. use starling 2.x and MonsterDebuggerMobile.swc nothing, no new tab in Monster Debugger

these swf file is down load from your github page

@joshtynjala
Copy link
Owner

I did not write the original network code, and I did not modify it in any way. I only added support for the Starling display list. I do not know why it would not connect.

@leefj
Copy link
Author

leefj commented Aug 25, 2016

hi josh ,I solved the problem, run the initialize code later ,it work ok now.

thanks

@leefj leefj closed this as completed Aug 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants