[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[node8-android] Debugging with U8 Debugger

The node8-android execution machinery supports the Chrome DevTools Protocol to instrument, inspect, debug and profile S8 Smalltalk systems running as native android applications.
We can connect the [U8] U8Debugger to any running S8 android application setup to run inspector at startup.

Note that you need to grant network access to the application from the computer your want to debug for the port used for debugging (default:9229).

To enable the inspector interface at startup of your application, edit the implementation of method startProgress() of MainActivity; adding the argument "--inspect" when calling to startNodeWithArguments().
The inspector interface will emmit the URL to access the debug server in the console; take note of the URL.
Use the URL to the debug server to connect from [U8] U8Debugger page.