Cao Zongwei

Xun Bug is an application for debug and profiling javascript code. It is a powerful tool supports most of mobile browser such as iPhone,Android,BlackBerry,Windows Mobile and Symbian.
There is no need to install plugins in your browser.
With the debug tool of Xun bug,you can set breakpoint,watch call stacks,step and resume,watch expressions and so on.
With the profile tool of Xun bug, you can get the javascript function call tree and every call's time ,you can also get the statistic of function calls.

Video Tutorials:

Profile Javascript for IOS


Debug Javascript for Android

Install for IOS

  1. Requirements

a) XCode 4.1+

b) JDK 1.5+

c) Phonegap for IOS

  1. Install Xun bug

a) Download Xun Bug


b) Extract Xun Bug

3.How to Use for IOS?


Install for Android

1. Requirements

a) Eclipse 3.6+

b) ADT 16.0.1

b) Html and Javascript Editor

I suggest to use JSEclipse

I tested pass in eclipse 3.6 + ADT 16.0.1 + android-sdk-windows 2.3.3 and 4.0.3

2. Install SDK + PhoneGap


3. Install Xun Bug

Download Xun Bug


Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "Xun Bug" for the Name and select the download zip file.
Click OK
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.

How to use

Debug Javascript


Profile Javascript


Project Admins:


  • Cao Zongwei

    Cao Zongwei - 2012-02-15

    The first version support debug in android,if you want to debug in other mobile's browser,please open a browser and input the url of http://[ip]:[debug port default 8088]/assets/www/index.html.
    You can debug in any browser,not only in mobile browser.
    PC's browser like IE ,FF ,Chrome is also supported.

  • J Ehlert

    J Ehlert - 2012-08-24

    When I try to run the Android Profiler (in Eclipse 4.2 or Springsource Tool Suite 2.9.2.RELEASE (built on Eclipse 3.6.2) I get the following error:
    "Plug-in 'org.ayound.mobilex.ui' was unable to instantiate class 'org.ayound.mobilex.ui.launch.JsLaunchConfigurationDelegate'.
    From poking around, it seems that the correct namespace should be 'org.ayound.mobilex.core.launch.JsLaunchConfigurationDelegate', but I can't see where/why it's trying to load .ui instead.

    I am running Java 1.6 on a Mac OSX 10.7 (Lion) machine.

    Any ideas?


Log in to post a comment.