Child pages
  • Debugging Mobile

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While in the debugger of Chrome, there are two tabs where you can inspect stuff:

  • the console Console tab - displays the console output the client generates
  • the sources Sources tab - where debugging is started for the actual code that is running in the mobile client
    • The navigator (the arrow button on the left) gives access to all the sources.
    • Under localhost:8080 section there are the same scripts as in the Developer. One can open them to set breakpoints, these will be hit when that code in the mobile client is hit.

The other tabs do not work.

Hot Code Replace

Changes can also be pushed right to the running client by making changes directly in the Chrome browser and save those changes. This will push the changes to the mobile client and that code will be executed in the next run. If the client is reloaded or the PhoneGap application is started again, these changes will be lost. But these changes are pushed and reflected in the workspace of the Servoy Developer to be used in next run!

...