Confirmed users
523
edits
Line 468: | Line 468: | ||
After staring fennec with jimdb the following seems to work at least a little. | After staring fennec with jimdb the following seems to work at least a little. | ||
$ adb jdwp | |||
5543 | 5543 | ||
$ adb -d forward tcp:8686 jdwp:5543 | |||
$ jdb -J-Duser.home=. -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8686 -sourcepath ~/mozilla/maple/mobile/android/base/ | |||
You can also use eclipse for debugging in a similar way by setting up for debuggin "Remote Java application" | |||
=== Arguments and Environment Variables === | === Arguments and Environment Variables === |