Verbose and non-verbose parsing of .debug_line produced their output at different points in the program. The most obvious impact of this was that error messages were produced at different times, but it also potentially reduced what clients could do by customising the stream or warning/error handlers.
This change makes the two variants consistent by printing non-verbose output inline, the same as verbose output.
Testing of the error messages has been modified to check the messages always appear in the same location to illustrate the behaviour.
Maybe put this outside the while loop so it doesn't have to be tested every time?
Though it does mean duplicating the loop condition (could put it in a lambda), which isn't ideal either - certainly up to you, just figured I'd float the idea.