Skip to content

Request to add break command #8

@chrismolloy

Description

@chrismolloy

It would be useful to have a BREAK() command to "stop" execution and wait for a CR input to continue.

It would stop your trace output to allow you to view it, then continue with a CR instead of trying to catch it by stopping scrolling.

I prototyped it and it works great!
void BREAK(){
Serial.print("BREAK hit enter");
while (!(Serial.available() > 0)){} //wait for input

int incomingByte = Serial.read();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions