Skip to content

p5 console limit #516

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

Closed
1 task done
jps723 opened this issue Feb 3, 2018 · 3 comments
Closed
1 task done

p5 console limit #516

jps723 opened this issue Feb 3, 2018 · 3 comments

Comments

@jps723
Copy link

jps723 commented Feb 3, 2018

Nature of issue?

  • Found a bug

Details about the bug:

The console limits how much data can be output but does not throw an error/warning or indicate that anything has been omitted. This caused me to believe that there was an issue in my code.

  • Web browser and version: Version 63.0.3239.132 (Official Build) (64-bit)
  • Operating System: Mac OSX Sierra (10.12.6)
  • Steps to reproduce this:

In the below example, the output to the p5 console begins with i at 33 (instead of 0). Opening the chrome console via inspector shows the entire output to the console. I would expect there to be a message indicating that the p5 console is limiting results, or it should be expanded to have no limit.

http://alpha.editor.p5js.org/jps723/sketches/HJYpA9QIG

@catarak
Copy link
Member

catarak commented Feb 6, 2018

there's another open ticket about console errors being omitted (#468) but this ticket could be on to something, maybe it has to do with the code that's limiting the rate of the console errors! it should be delivering the console messages in batch but perhaps it is not working as expected 😄

@shinytang6
Copy link
Member

shinytang6 commented Feb 20, 2018

Is it necessary to deliver console message in batch ?

@catarak
Copy link
Member

catarak commented Feb 20, 2018

yes. otherwise, if a user is logging something every frame, the whole editor slows down and crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants