debuggingbook icon indicating copy to clipboard operation
debuggingbook copied to clipboard

Incorrect state machine diagram in Introduction to Debugging

Open dfpetrin opened this issue 9 months ago • 0 comments

Describe the bug In the first state machine diagram on the Introduction to Debugging page, under the heading Visualizing Code, the state machine diagram and accompanying description indicate that "for every character that is not '<', we add the character and stay in the same state".

This is slightly incorrect. When in the "not tag" state and processing a '>' character, the given code will remain in the "not tag" state, but it will skip outputting the '>' character.

dfpetrin avatar May 10 '24 02:05 dfpetrin