Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

String: informative messages on issues#8821

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mcspr merged 4 commits intoesp8266:masterfromd-a-v:verboseString
Jan 26, 2023

Conversation

@d-a-v
Copy link
Collaborator

  • Always enable messages when serial debug port is enabled
  • Allocation issue was not reported

fixes#8779

Messages are like:

12:14:33.749616204 [String] 'ab1ab2ab3a ... 08ab8309ab': Reallocating large String(48749 -> 48753 bytes)12:14:33.758096639 [String] 'ab1ab2ab3a ... 11ab8312ab': Reallocating large String(48767 -> 48771 bytes)12:14:33.766779262 [String] 'ab1ab2ab3a ... 8314ab8315': Reallocating large String(48783 -> 48785 bytes)12:14:33.774862098 [String] 'ab1ab2ab3a ... 16ab8317ab': Reallocating large String(48797 -> 48801 bytes)12:14:33.780903383 [String] 'ab1ab2ab3a ... 16ab8317ab': OOM: 48799 -> 48816 bytes12:14:33.789079777 [String] 'ab1ab2ab3a ... ab8317abab': Reallocating large String(48799 -> 48803 bytes)12:14:33.797860839 [String] 'ab1ab2ab3a ... ab8317abab': OOM: 48799 -> 48816 bytes12:14:33.806152000 [String] 'ab1ab2ab3a ... ab8317abab': Reallocating large String(48799 -> 48801 bytes)

from code:

int cnt =0;String puffed;voidloop() {    puffed +="ab";    puffed +=String(++cnt);}

MacDada reacted with heart emoji
@d-a-vd-a-v added the alphaincluded in alpha release labelJan 24, 2023
@mcsprmcspr merged commit9c4a123 intoesp8266:masterJan 26, 2023
hasenradball pushed a commit to hasenradball/Arduino that referenced this pull requestNov 18, 2024
Always enable messages when serial debug port is enabledAllocation issue was not reported
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

alphaincluded in alpha release

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

String: add debugging message in case of allocation failure

2 participants

@d-a-v@mcspr

[8]ページ先頭

©2009-2025 Movatter.jp