{"tool":"adb","tool_display":"Adb","intent":"display-matching-lines","intent_display":"display matching lines","title":"Adb Command: display matching lines","command_string":"adb logcat -e <regex>","raw_command_string":"adb logcat -e {{regex}}","description":"Exact CLI syntax to display matching lines using Adb.","usage_scenario":"Apply 'adb logcat -e {{regex}}' when diagnosing intermittent app crashes during field tests. This approach is crucial when specific log outputs are buried under extensive logs, allowing for rapid identification of error conditions or exceptions that match your regex pattern.","scenario_context":"Filter logs efficiently to isolate issues in your app's runtime behavior.","simulated_output":"--------- beginning of main ---------\\n07-17 12:30:52.123  1234  5678 D/MyApp: Value is 42\\n07-17 12:30:53.456  1234  5678 I/MyApp: User clicked button\\n07-17 12:30:54.789  1234  5678 W/MyApp: Deprecated method called\\n--------- end of main ---------","how_to_steps":["Run the command: adb logcat -e 'MyApp'","Check the output for relevant log entries that match 'MyApp'"],"canonical_url":"https://www.syntaxstandard.com/adb/display-matching-lines"}