Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launchCount and debugging #23

Open
sreilly opened this issue Sep 29, 2016 · 0 comments
Open

launchCount and debugging #23

sreilly opened this issue Sep 29, 2016 · 0 comments
Labels
bug Something isn't working major

Comments

@sreilly
Copy link
Contributor

sreilly commented Sep 29, 2016

Original report by me.


The current appbundler does not set isDebugging = true at line 114 in main.m until the second iteration of running the code, when launchCount > 0.

The problem with this is that there are several ways that app launch could fail during the first iteration (when launchCount = 0), but with isDebugging still false, little or no information is written out via NSLog.

One could just alter line 114 to ignore the value of launchCount, but in that case, a successful launch when debugging is enabled will print out two copies of the all the diagnostics.

Any ideas on a better way to handle this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant