question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing debug output prevents tracking down errors

See original GitHub issue

Is your feature request related to a problem? Please describe. The bubblewrap build can fail for a couple of reasons, especially if the error occurs in a tool used through bubblewrap (e.g. gradle commands or Android helpers like keytool and adb). In these cases, the error message, e.g. “error command failed”, does not help to track down the issue that caused the error.

Describe the solution you’d like More verbose or additional debug output (probably using an additional --debug parameter) would help to understand the cause for an error. Routing through the errors thrown by the external tool or custom error messages by bubblewrap for common errors, would help to understand the underlying issue.

Describe alternatives you’ve considered Options to get additional output:

  • Route through error messages by 3rd party tools into bubblewrap’s console output (perhaps only via a --debug or --verbose param)
  • Custom error messages by bubblewrap for common errors with instructions what to check for fixing
  • A separate debug log file (perhaps only written with --debug param), also helps with error reporting

Additional context Example output for a non-descriptive error:

my-macbookpro% bubblewrap build --skipPwaValidation
? KeyStore password: *******
? Key password: *******
build Building the Android App...


cli ERROR Command failed: ./gradlew assembleRelease --stacktrace


my-macbookpro%

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
andrebancommented, Jun 16, 2020

Thanks for the update. We’re looking into implementing #181 to make it easy to check if the config and dependencies are correct.

0reactions
andrebancommented, Feb 11, 2021

The doctor command was landed and should improve this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tracking down errors in R - R-bloggers
To do this, we can use the debug function. We will turn on debugging for nnet, which will let us step through the...
Read more >
show line of code causing error in… | Apple Developer Forums
When I debug an error I end up with either the line of code causing the error or a dump with lots of...
Read more >
Configure Debug Collection for Unified Border Element ...
Introduction. This document describes some of the best practices in order to collect Voice Debugs in an Cisco IOS/IOS-XE Voice Router.
Read more >
How to Fix and Debug Docker Containers Like a Superhero
These missteps can carry forward from one command to the next. And because easy-to-miss things like spelling errors or character omissions can ...
Read more >
General suggestions for debugging in R - Stack Overflow
I'd say that debugging is an art form, so there's no clear silver bullet. ... trace by calling traceback() : that shows you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found