|
| 1 | +--- |
| 2 | +layout: default-layout |
| 3 | +title: Use Debug Mode - DBR Android FAQs. |
| 4 | +keywords: Dynamsoft Barcode Reader, FAQ, Mobile demo, debug, android |
| 5 | +description: How to use Debug Mode in Barcode Scanner X? - DBR Android FAQs. |
| 6 | +needAutoGenerateSidebar: true |
| 7 | +--- |
| 8 | + |
| 9 | +# How to use Debug Mode in Barcode Scanner X? |
| 10 | + |
| 11 | +[<< Back to FAQ index](index.md) |
| 12 | + |
| 13 | + |
| 14 | +## Debug Mode in BarcodeScannerX |
| 15 | + |
| 16 | +If you are experiencing app crashes in your own application or you’ve come across some barcode(s) that you can’t read and you have exhausted all of the other troubleshooting methods, Debug Mode of the [BarcodeScannerX](https://www.dynamsoft.com/barcode-reader/sdk-mobile/#appDemo) demo app can help offer one last effort to resolve these issues. |
| 17 | + |
| 18 | +This next section will explain how to toggle on debug mode on the demo app, and will then dive into how to collect crash logs and/or image samples. |
| 19 | + |
| 20 | +1. From the home screen, go to Advanced Scan. |
| 21 | + |
| 22 | + <img src="../../assets/home_screen.jpg" alt="Home screen" width="50%" height="50%"> |
| 23 | + |
| 24 | +2. Tap the settings icon at the top-right corner. |
| 25 | + |
| 26 | + <img src="../../assets/advanced_scan.jpg" alt="Advanced scan" width="50%" height="50%"> |
| 27 | + |
| 28 | +3. Tap Debug Mode to see the drop-down list. |
| 29 | + |
| 30 | + <img src="../../assets/debug_mode.jpg" alt="Debug mode" width="50%" height="50%"> |
| 31 | + |
| 32 | +## Debug Mode - Crash Logger |
| 33 | + |
| 34 | +If you are encountering an app crash caused by Dynamsoft Barcode Reader or Dynamsoft Camera Enhancer SDK, you need to use the Crash Logger. |
| 35 | + |
| 36 | +1. Toggle on Crash Logger |
| 37 | + |
| 38 | + <img src="../../assets/crash_toggle_on.jpg" alt="Crash toggle on" width="50%" height="50%"> |
| 39 | + |
| 40 | +2. After Crash Logger is toggled on, please go ahead and scan codes until you reproduce the crash issue. |
| 41 | + |
| 42 | +3. After the app crashes, re-open BarcodeScannerX app and go to Advanced Scan -> settings. Tap the "Share" button to share the log files with the [Dynamsoft support team](https://www.dynamsoft.com/contact/?ver=latest). |
| 43 | + |
| 44 | + <img src="../../assets/crash_share.jpg" alt="Crash share" width="50%" height="50%"> |
| 45 | + |
| 46 | +## Debug Mode - Image Cropper |
| 47 | + |
| 48 | +If you are having trouble reading barcodes, you should use the Image Cropper to capture some sample image(s) or frame(s) and send them to the Dynamsoft Support Team: |
| 49 | + |
| 50 | +1. Toggle on Image Cropper |
| 51 | + |
| 52 | + <img src="../../assets/image_cropper_toggle.jpg" alt="Image crop toggle on" width="50%" height="50%"> |
| 53 | + |
| 54 | +2. After Image Cropper is toggled on, an image crop icon will show up at the bottom left of Advanced Scan |
| 55 | + |
| 56 | + <img src="../../assets/crop.jpg" alt="crop" width="50%" height="50%"> |
| 57 | + |
| 58 | +3. Tap the image crop icon to crop and share the original frames with the [Dynamsoft support team](https://www.dynamsoft.com/contact/?ver=latest). Our support team will investigate the video frames and get back to you with a solution as soon as possible. |
0 commit comments