OLD | NEW |
1 # Devtools | 1 # Devtools |
2 | 2 |
3 Unopinionated tools for **running**, **debugging** and **testing** Mojo apps. | 3 Unopinionated tools for **running**, **debugging** and **testing** Mojo apps. |
4 | 4 |
5 ## Install | 5 ## Install |
6 | 6 |
7 ``` | 7 ``` |
8 git clone https://github.com/domokit/devtools.git | 8 git clone https://github.com/domokit/devtools.git |
9 ``` | 9 ``` |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 #### Android crash stacks | 122 #### Android crash stacks |
123 When Mojo shell crashes on Android ("Unfortunately, Mojo shell has stopped.") | 123 When Mojo shell crashes on Android ("Unfortunately, Mojo shell has stopped.") |
124 due to a crash in native code, `mojo_debug` can be used to find and symbolize | 124 due to a crash in native code, `mojo_debug` can be used to find and symbolize |
125 the stack trace present in the device log: | 125 the stack trace present in the device log: |
126 | 126 |
127 ```sh | 127 ```sh |
128 mojo_debug device stack | 128 mojo_debug device stack |
129 ``` | 129 ``` |
130 | 130 |
131 ### devtoolslib | |
132 | |
133 **devtoolslib** is a Python module containing the core scripting functionality | |
134 for running Mojo apps: shell abstraction with implementations for Android and | |
135 Linux and support for apptest frameworks. The executable scripts in devtools are | |
136 based on this module. One can also choose to embed the functionality provided by | |
137 **devtoolslib** in their own wrapper. | |
138 | |
139 ## Development | 131 ## Development |
140 | 132 |
141 The library is canonically developed [in the mojo | 133 The library is canonically developed [in the mojo |
142 repository](https://github.com/domokit/mojo/tree/master/mojo/devtools/common), | 134 repository](https://github.com/domokit/mojo/tree/master/mojo/devtools/common), |
143 https://github.com/domokit/devtools is a mirror allowing to consume it | 135 https://github.com/domokit/devtools is a mirror allowing to consume it |
144 separately. | 136 separately. |
OLD | NEW |