-
Notifications
You must be signed in to change notification settings - Fork 236
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
Implementing a debug option to trace bugs and issues #67
Comments
Re: 1. Right, I was thinking of rewriting that class docs in English. Shouldn't be no problem. Re: 2. What's a debugging option? Those numerous debugging outputs? Is there real value in them? I guess there is, but then I wouldn't start with Another decision is whether this should be a compile-time or a runtime (e. g. environment variable) setting. In my experience, it is very often useful for end user to be able to turn on some kind of “verbose output” to instantly see what the problem is, rather then to ask developers for help or (if the end user is a programmer) to get source code, all necessary settings and dependencies, recompile the whole thing... you get the picture. Right now, QuaZip is in the pre-1.0 stage. Would be a nice thing to implement debugging output before v1.0 release. English docs can be done anytime. |
I am sorry, it seems I didn't check the whole project source code before posting my comment. I made my suggestions based on one just file! My apologies. Anyway, the idea of having several levels of debugging seems interesting, but you are right, maybe adding too many messages could be messy or at least, exhausting. In my case, Quazip works like a charm in Mac and Linux systems. Nevertheless, in Windows systems, from time to time my users get "empty" or "incomplete" zip files. It seems there is some issue related to the size of the files or a memory limitation on this specific operating system. That's the reason I am trying to debug the library "line per line". Anyway, if I found the root of the problem I will let you know. Once again, thank you for making Quazip. It's a handy project! :) |
Adding debug all over the place is probably not the best idea, it will just increase code bloat for questionable benefit. We can add |
Hi!
First, I want to thank you for making this project. It's a key component to my own project. :)
Second, a couple of suggestions:
Just as an experiment, I made a copy of one of the Quazip classes (with a little modification of the code), just to show you how it would be an "English"/"with Debugging option" version of your project:
https://github.com/xtingray/quazip/blob/master/quazip/JlCompress.cpp
In case you like my coding proposal, please let me know.
Regards,
The text was updated successfully, but these errors were encountered: