Debugger that watches jvm running a BlackBerry application on device simulator - blackberry

I need a debugger that watches jvm running a BlackBerry application on device simulator (the same way as OllyDbg is used to debug Windows applications.) Any recommends?

The BlackBerry JDE and Eclipse plugins both have debugging tools built in to them. Is there something specific you're looking for that these tools don't provide? They're quite comprehensive - code stepping, memory monitoring, process and thread dumps, etc.

Related

Performance monitoring tool for mobile safari web application

I am working on a web application. I can test my performance of web app including memory and cpu usage in desktop using chrome Dev tools. I want similar application so that I can measure my web app performance running on iPad and iPhone in safari.
Is such type of tool available?
PS: After some research, People advising for xcode instruments. but I am not able to recognize how I can test using instruments.
Please help.

Debug a PhoneGap app running in Emulator using WebStorm

Is there a way to debug the javaScript of a PhoneGap based iOS app within WebStorm while the app is running in the iOS emulator? The problem is that some of the events (like 'deviceready') need to be fired to enter certain code paths that I want to debug.
It is all described here in great detail:
http://www.tricedesigns.com/2013/01/18/my-workflow-for-developing-phonegap-applications/
It is a great article that every phonegap starter should read, as it describes how you can set up your development environment.
I have many options:
Phonegap simulator
iOS emulator remote debugger
remote debugging on the actual device
It won't integrate with webstorm but the debugging tools described above are much more powerful anyway.

Debugging GWT on tablets (Android, iPad)

We're running with a strange error running our GWT application on tablets (both iPad and Android). It's a touch event the one producing the error ("undefined is not an object")
How can you debug a GWT application for this scenario. We need to produce tablet touch events or run the GWT code on development mode in the tablet.
A couple options that have helped us debug GWT apps on the iPad:
a Windows machine with a touchscreen (we have this one at the office)
Java logging + the popup log panel (or remote logging) (Google Developer's Guide)
Firebug Lite - this may not help with this specific problem, but maybe in the future. :)
Hope some of these help.
I believe you can debug a compiled GWT application (works for me using GWT 2.4).
You need to have the GWT Developer Plugin installed in the tablet browser. I don't know if it's possible but if it is, all you need to do is append the gwt.codesvr=<yourDevMachineIp>:<yourDevModePort> query parameter to your app URL while running Dev Mode for your app in Eclipse.
Disclaimer: I've only tried this with a compiled app in a browser running on the same machine as my Eclipse IDE. If you're successful, please post a brief note here.

Will blackberry smartphone apps run on the Playbook?

Will a Blackberry smartphone application written in the Java api work on the Playbook without modification?
According to RIM, once the JDE player is released, they will have to be re-packaged which may require re-compiling, to run on the PlayBook. The same applies to Android applications. In either case you will not be able to download native JDE or Android apps and run them on the PlayBook.
The only application SDK path that allows for BlackBerry Smartphone applications to run both on BBOS, Playbook and BlackBerry 10 is the HTML5 WebWorks SDK
Get started by reading the Getting Started Overview Guide
https://developer.blackberry.com/html5/documentation/what_is_a_webworks_app_1845471_11.html
You may also be interested in cloning bbUI.js, a free ui framework that works across BlackBerry devices going back to OS5. bbUI.js targets platform specific native features, like access to hardware apis, while providing a consistent feel.
blackberry/bbUI.js
https://github.com/blackberry/bbUI.js
Best of luck to you.
Yes, RIM has announced that they will release a virtual machine which will play your existing blackberry app. I'm not sure if developers have to re-submit their blackberry apps though.
Playbook will also support Android apps, but developers will have to recompile their apps and submit those to App World.

How to improve the Speed of debugger attachment of Blackberry jde4.6 simulator?

I m working on Blackberry development when i click debug in the JDE my simulator takes long time to load the program and my desktop configuration are current configuration with 3GHZ processor and 4GB ram . I don't know why this happening ?
From the official BlackBerry Developer Blog, here is a new post on setting up the simulator to boot as fast as possible.
How-to Set up a Lightning Fast BlackBerry Smartphone Simulator
It's not an exact solution to this question as it doesn't specifically speed up the attaching of the debugger, but it should help with simulator startup time.

Resources