Confirmed users
400
edits
Nalexander (talk | contribs) |
|||
Line 158: | Line 158: | ||
If you are looking for something specific, use the code-search tool at http://dxr.mozilla.org/ to search for relevant pieces of code. | If you are looking for something specific, use the code-search tool at http://dxr.mozilla.org/ to search for relevant pieces of code. | ||
=== Debugging === | |||
For the JavaScript parts of the code base, [https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Android remote debugging] with a desktop version of Firefox is the most effective way to see what is going on, add breakpoints, etc. | |||
For Android Java code, if you have IntelliJ set up, the debugger works well and allows you to set breakpoints, inspect variables and objects, etc. Debugging without an IDE is much more primitive, and you can try using Android Log statements and inspecting logcat. | |||
=== Coding Style === | === Coding Style === |