facebook

Javascript Debugger: CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #345483 Reply

    Code_A
    Member

    Does MobiOne have a built-in debugger for Javascript? If so, where is it and how do I access it? I cannot seem to find anything in the GUI or in the web simulator.

    #345512

    support-michael
    Keymaster

    Beginning with MobiOne 2.5 we rely on the Chrome dev tools which includes awesome developer tools including a javascript debugger. You can access the debugger from the MobiOne Design Center.

    1) configure MobiOne to use the Mobile Web Simluator, Window menu>Settings>Mobile Web Simulator. DO NOT ENABLE THE TEST CENTER (it is obsolete and no longer supported). You will need to have the Chrome browser installed.

    2) from the MobiOne Design Center if you have the main screen opened in a visual designer click the Run in Simulator button in the designer or set the Target Design on toolbar to your startup screen and then click the Run in Simulator button on the toolbar or from the Project menu>Run in Simulator action. This will start your project in the simulator.

    3) in the simulator, choose right-click menu>inspect. This will open the Chrome developer tools. Choose the Source tab to view the web files for your project. Set javascript breakpoints and then run your project in the browser. Control should stop at your breakpoints.

    A quick google search will turn up lots of tutorial/videos for using the chrome developer tools. See attachment chrome-debug.png

    Attachments:
    You must be logged in to view attached files.
    #345516

    Code_A
    Member

    Thank you! That is exactly what I needed.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Javascript Debugger: CLOSED

You must be logged in to post in the forum log in