Skip to content
sqliu edited this page Aug 15, 2013 · 16 revisions

Build XWalk Android Core with full debug support

. xwalk/build/android/envsetup.sh --target-arch=x86
xwalk_android_gyp -Dandroid_full_debug=1
ninja -C out/Debug xwalk_core_shell_apk

Install Apps

adb install -r out/Debug/apks/XWalkCoreShell.apk

Debug Native Code with "adb_gdb*"

  • On Device, launch the App
  • On Host machine, to debug the browser process, use:
adb_gdb_xwalk_core_shell --verbose
  • To debug the renderer process, use:
adb_gdb_xwalk_core_shell --verbose --sandboxed=[0-6]

Debug Java code with Eclipse

  • Import the project into Eclipse workspace:
New -> Android -> Android Project from Existing Code -> point to XwalkCore project root($src/runtime/android/shell)
Clone this wiki locally