-
Notifications
You must be signed in to change notification settings - Fork 951
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to see full log of long data #3500
Comments
Which environment is this in? Is this a React Native app? Could you please share a full screenshot (blur our potentially confidential areas please)? It's very hard to figure out the context of this. |
@passy Yeah, in RN app.
And I'm seeing the issue "only" in Here's the screen record as per your request: (tested with array length of 500) 1.mov |
After posting above comment, I noticed So I created fresh RN project, tested there, and was able to reproduce the first issue: 3.mp4The only difference between this and above record is the version of RN, above is |
I reached out to a colleague and there are probably two things happen: We have a message limit inherent in our protocol. That dictates the maximum length. We could theoretically do some chunked transfer but someone would need to build this. The other expanding issue you're seeing could likely happen due to the screen virtualisation that we use when you go far beyond the screen viewport. One workaround for these long messages could be using the Hermes Debugger which uses a lazy, pull-based protocol which should support longer messages. |
The logs plugin is basically the stdout/stderr or your application, a single direction stream that shows everything you dump into it, nothing more, nothing less, just a bunch of characters. It doesn't know about objects, arrays, or JavaScript at all for that matter. The hermes debugger is a tool that connects to the JavaScript engine itself, and is hence not technology agnostic. So it won't capture any info coming from the native world for example. But since it is a specialised bidirectional protocol, it can do things as expanding objects as long as they are kept in the JS memory of the client. Note that this is just a boxed chrome developers tool, so we don't really influence its behavior. That your object doesn't further expand might mean that is already garbage collected for example, by the time you expand it. Or it has been shortened in the mean time. Etc. |
This is so bad lol |
Any update? |
馃悰 Bug Report
Flipper only logs limited number of lines even after
![1](https://user-images.githubusercontent.com/13231564/156976196-8bb89521-38ea-4d1f-a384-76781a96920c.png)
![2](https://user-images.githubusercontent.com/13231564/156976174-e196d940-e936-491c-94ef-a2bc89354946.png)
> and n more
is pressed.I tried logging array with length of 200, but it only shows maximum of 161.
(also have no idea why it's saying
618 more
)I'm expecting to see another
> and n more
button if there're more lines to show.To Reproduce
Run:
Environment
Flipper: 0.137.0
iOS: 15.2
Android: haven't tested
The text was updated successfully, but these errors were encountered: