09-09-2012 01:46 AM
I've been trying to debug apps on the Dev Alpha using Wifi and I'm finding its timing out frequently.
I was hoping to try to see if debugging on USB wouldl be better but I can't seem to connect using the USB (although it autodiscovers it and I can browse the folders in Windows Explorer). (Password was used and Development mode is on)
Anyone have any suggestions how to improve the debugging on QDE?
09-10-2012 05:13 PM
Yes, I'm in development. There is 2 IP address. One is 192.168.2.X which is my wifi (wireless N), and the other is the USB 169.254.0.13.
It autodects the USB one - however it when you do a build it won't deploy. In the past I've debugged with no lag issue using Android Java Eclipse on the Playbook via USB.
Wifi deploys fine - however the debugging keeps timing out. For example I set a breakpoint and it never got past the BlackBerry splash page. When I just Run it - the console updates fine, so I'm currently using qDebug to console to debug (which can be very slow in cases like when you don't know where in your code a number is getting eroneously changed).
Is it normal for Wifi debugging to be so slow?
09-13-2012 06:43 PM
**Bump** Any help would be appreciated. Debugging is very frsturating right now.
Anyone else have the problem that they can't debug using USB? or have fixed it? or know how to improve wifi communication speed ? or does any one else find Wifi debugging times out.
09-13-2012 07:24 PM
I can confirm debugging over wifi (even when I am in good range) is painfully slow - takes about 20 seconds or more just to get to the first breakpoint and every time i hit resume takes good 5-10 seconds to move to next breakpoint. Its actually quite unusable for day to day debugging. Instead I am doing a lot of qDebug() << 's and just run the app.
On the positive side compiling, deploying and running app is much faster in Native SDK than in Flash Builder for AIR apps so I'm not complaining ;-)
I have not tried USB debugging as BB Desktop Manager takes over the connection and takes 30 seconds to find the device.
09-18-2012 03:07 PM
I am not sure I understand what you mean when you mention that the BB Device Manager "takes over the connection". Are you not able ot detect the device in Momentics?
09-19-2012 06:10 AM
I developed sometimes in wifi and is a good option, yes, maybe is a little slow compared with usb but works fine.
You can configure easyly using Wizard:
Window -> Preferences -> Blackberry
09-23-2012 05:39 PM
I tried it today again and timed it. It takes 10 minutes for the QDE debugger to get to the opening page (past the BlackBerry splash page) of my app. Fortunately today it didn't timeout like it often does.
I can rebuild, deploy and run within 30 seconds. That is what I mean when I say its ridiculously slow.
09-24-2012 03:46 AM
Hi, your app is very big?
Your Wifi is only for you or is for everyone? If you are in a place with lots of wifis try to change the Channel of your Wifi because this can be the problem