Closed floens closed 7 years ago
We don't have a particular reason for returning the data the way we do, so we can fix the issue for you.
That is done. Will be a part of the next release (which you can expect until the end of this week).
If you need the fix right now, you can use develop-SNAPSHOT
as a version name - that would give you the latest state we have in develop
.
The
toString
method ofio.fotoapparat.preview.Frame
returns the content of the image byte array. This results in the return value of the toString method to be enormous. This is slowing down my debugger to the point that it's unusable, because it has to download megabytes of string data. That, and I don't think there's any reason to actually output this data in toString.What are you trying to achieve or the steps to reproduce?
I'm debugging some code that has variable of type Frame. As a result, the debugger calls toString on the frame to show it in the debugger screen, and the debugger is slowed down.
Context: