Software Archive
Read-only legacy content
17061 Discussions

Can't debug game app

Carlos_D_
Beginner
440 Views


Hi everyone! 

This is my first time writing in this forum, it's a pleasure to meet you guys! :)

First of all, I've been developing some apps with intel XDK and I love it! But i've encountered a problem the first time I used PLAYCANVAS (a great HTML5 game engine, you should chek it!) and tried to Debug in device.

When I emulate the APP it works nice, but then when I try to launch it on device it get stuck in the Playcanvas loading screen. When I inspect elements, network and so on, I see that no game assets are loaded.
brkn4.JPG 

I've used Intel XDK before and had no problems. Any ideas what am I doing wrong/ what's going on? 

Thank you!

0 Kudos
6 Replies
Michael_C_Intel2
Employee
440 Views

Hi Carlos,

Glad you are enjoying working with the XDK. In this case it would be best to go to the source and talk to the XDK people. They can help get your problem fixed: https://software.intel.com/en-us/forums/intel-xdk. I am moving your post to that forum. 

 

-Michael 

0 Kudos
PaulF_IntelCorp
Employee
440 Views

Carlos -- when you run on a real device are you using App Preview or a built app or the Debug tab? Try using the Debug tab, it includes a complete Chrome DevTools that you can use to debug more deeply, similar to what you can do in the Simulate tab.

0 Kudos
Carlos_D_
Beginner
440 Views

I've tried both in fact... and same result. Not sure what am I doing wrong, in fact, I've tried with some demo projects from playcanvas and still same result. 

0 Kudos
PaulF_IntelCorp
Employee
440 Views

Carlos -- I recommend you try to debug a built app or the Debug tab. See this page for some help > https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview <

0 Kudos
Carlos_D_
Beginner
440 Views

Hi Paul.

I've tried all options in the doc you've attached, but still same results.

I think there might be something wrong with the project, so I'm gonna check again. Anyway, any idea would help. Thanks!
 

0 Kudos
PaulF_IntelCorp
Employee
440 Views

Carlos -- are you using the Chrome DevTools console to inspect your app, the JavaScript debugger is very useful for understanding what is working and what is not. Also, use console.log() to print out messages at key points withing your app. Compare the results between the Simulate tab (in the Chrome DevTools there) with the Debug tab Chrome DevTools.

0 Kudos
Reply