Problem with working in the web editor for Cobol

Due to the way cobolcheck works, to create test.cob, the error messages in the web editor are disconnected from the visible code:

My program doesn’t have a line 137. There is no indication about what “test.cob” is.

I don’t have a concrete solution for this, but I have an idea brewing. In the next few days, I’ll have a look at the test runner.

1 Like

Which exercise is this from?

It happens to be Bob, but the test runner reports error line numbers from that .cob file for every exercise.

The test runner should map that line to the corresponding line in the solution file. That should be pretty straightforward.