Unable to see full log of long data
See original GitHub issueš Bug Report
Flipper only logs limited number of lines even after > 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:
const testArray: number[] = [...Array(200)].map((_, index: number) => index);
console.log(testArray);
Environment
Flipper: 0.137.0 iOS: 15.2 Android: havenāt tested
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to display long messages in logcat - Stack Overflow
If logcat is capping the length at 1000 then you can split the string you want to log with String.subString() and log it...
Read more >Log message is truncated - New Relic Documentation
New Relic log management troubleshooting: your log data is not being displayed completely; it ends incompletely, with an ellipses.
Read more >[Db2] How to solve transaction log for the databases is full ...
As a quick workaround, specify the transaction causing "transaction log is full" situation, then commit or rollback it. 1.1. Determine theĀ ...
Read more >Manage the size of the transaction log file - Microsoft Learn
This is useful when you know that a transaction log file contains unused space. You can shrink a log file only while the...
Read more >Troubleshoot pushing log data to CloudWatch - Amazon AWS
If logs stopped pushing after a log rotation, check the supported log rotation methods. Ā· If logs are pushed briefly only after the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
After posting above comment, I noticed
and 618 more
button doesnāt do anything unlike the first post, where it should show ālittle moreā lines.So I created fresh RN project, tested there, and was able to reproduce the first issue:
https://user-images.githubusercontent.com/13231564/157032212-8a0ba0f1-3f88-424c-b847-861ebe4ec62b.mp4
The only difference between this and above record is the version of RN, above is
0.66.4
and this one is0.67.3
.