Date: Tue, 19 Mar 2024 11:04:47 +0000 (UTC) Message-ID: <1947598613.9905.1710846287922@911f0a1bad02> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9904_1540800860.1710846287922" ------=_Part_9904_1540800860.1710846287922 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Servoy Mobile applications can be debugged while running on actu= al devices like phones or tablets or in a desktop browser.
The debugger is a special instrumented version of the Google Chrome Deve= loper Tools. This means that the Debugger inside Servoy Developer is not us= ed and the Google Chrome is required to do debugging.
This feature is available as of Servoy 7.3.
To be able to debug a mobile solution, the solution needs to be exported= and deployed in debug mode:
Note that solutions exported in debug mode require Servoy Developer to b= e running and accessible from the Mobile Client. When Servoy Developer is n= ot available, the mobile solution will fail to launch.
Once the Mobile solution is deployed and running, the debugger can be op= ened in Google Chrome on the machine where Servoy Developer runs on l= ocalhost:8889. Depending if there are multiple mobile debug clients con= nected, the page will first offer a list of clients to debug or go straight= to the debugger if there's only one debug client connected.
The UI of the debugger sports a range of tabs at the top of the screen. = Of those only the following two are functional:
The other tabs are not functional at this point in time.
Breakpoints can be set by clicking in the gutter of the sourcefile and w= hen hit, the tools in the right pane provide options to inspect code and to= step through the code.
Note: If you are using Chrome version =
36 or higher, you may need to set "Allow insecure WebSocket from https orig=
in" in chrome://flags,
else the debugger won't start.
The source files can be edited and when saved the changes are simultaneo= usly applied both in the running client as well as pushed into the workspac= e of Servoy Developer, so the changes are still applied after restarting ei= ther the debug client or Servoy Developer.