-
Notifications
You must be signed in to change notification settings - Fork 338
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
Logger spins forever when clicking on a long entry #7575
Comments
Running DevTools native (which is a source debug build from the 2.34.2 branch) gives me this output:
I think it means whatever it's trying to get (the message?) has been garbage-collected. This feels like something a logging tool for a garbage-collected language would account for, yes? |
This should be fixed as part of the work for V2 of the logging page. Once that work lands, we should verify this behavior does not reproduce. |
I've tested the latest master devtools and the issue is solved! There is a lot of useless-to-me logging metadata JSON though, maybe that shouldn't show up in the list (by default)... Thank you so much. The logging view is so much more useful now! |
When trying to view a long log message or a log with an attached object or stack trace, the following sometimes occurs. Sometimes it works as intended but I haven't been able to figure out what the common thread is, but it only occurs with messages that don't fit in the summary view (approximately 128 characters).
![image](https://private-user-images.githubusercontent.com/15241530/322151048-5ecca8bc-8ad0-4006-a18a-a32199aaee75.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTYyMTksIm5iZiI6MTczOTM1NTkxOSwicGF0aCI6Ii8xNTI0MTUzMC8zMjIxNTEwNDgtNWVjY2E4YmMtOGFkMC00MDA2LWExOGEtYTMyMTk5YWFlZTc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwMjUxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5Y2E3ZmVkMTA5ODI0MDVkYmJhZjcwZGQ3MGY4Yjc3ZWQwMDNlOGY0MjI0NmE3MWMzZThkNzcxODQ4NmFhNGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YuXU369QtdROLhLdEkLcjlQOEm6PzHJlCdBB19ep6XI)
The behavior happens in both Firefox and Chrome, on Linux, and both show the following messages in the browser console each time such an entry is clicked (this one copied from Chrome).
![image](https://private-user-images.githubusercontent.com/15241530/322151453-46ff81c4-e5c7-4a9e-b214-f43e62e3c600.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTYyMTksIm5iZiI6MTczOTM1NTkxOSwicGF0aCI6Ii8xNTI0MTUzMC8zMjIxNTE0NTMtNDZmZjgxYzQtZTVjNy00YTllLWIyMTQtZjQzZTYyZTNjNjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwMjUxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiNjRhYmM3YzljZGNjYTAwZmQyYzA5YjljYzI0YzFiZTczNTZhMTU2MDNkMzBhY2JhYmNkMjM1ODNkMjI4MTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pB6bNjQ8DjdlBhIBYbYhm9UjR1grlb6i8a9hP2VZ4kU)
Full log message as text
If it helps, the source code I've been seeing this with is at https://source.blakes.dev/me/spades-flutter.
DevTools version: 2.33.1
Connected Device:
CPU / OS: x64 (64 bit) linux
Connected app type: Flutter native (debug build)
Dart Version: 3.4.0-190.1.beta
Flutter Version: 3.21.0-1.0.pre.2 / beta
Framework / Engine: c398442c35 / 0d4f78c952
The text was updated successfully, but these errors were encountered: