discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

About error lines

J
jpmendes
Tue, Mar 29, 2016 12:26 AM

When errors happen at compilation time the line number referenced is not
correct. It depends on the length of the included files. If I change the
<includes> to <uses> then the error lines appear correct. This is not very
user friendly.  Can this be fixed? Fixing it would be nice to ease
debugging.

jpmendes

--
View this message in context: http://forum.openscad.org/About-error-lines-tp16781.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

When errors happen at compilation time the line number referenced is not correct. It depends on the length of the included files. If I change the <includes> to <uses> then the error lines appear correct. This is not very user friendly. Can this be fixed? Fixing it would be nice to ease debugging. jpmendes -- View this message in context: http://forum.openscad.org/About-error-lines-tp16781.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Tue, Mar 29, 2016 12:35 AM

On 03/29/2016 02:26 AM, jpmendes wrote:

When errors happen at compilation time the line number referenced is not
correct. It depends on the length of the included files. If I change the
<includes> to <uses> then the error lines appear correct. This is not very
user friendly.  Can this be fixed? Fixing it would be nice to ease
debugging.

Yes, that's known bug.
https://github.com/openscad/openscad/issues/214

ciao,
Torsten.

On 03/29/2016 02:26 AM, jpmendes wrote: > When errors happen at compilation time the line number referenced is not > correct. It depends on the length of the included files. If I change the > <includes> to <uses> then the error lines appear correct. This is not very > user friendly. Can this be fixed? Fixing it would be nice to ease > debugging. > Yes, that's known bug. https://github.com/openscad/openscad/issues/214 ciao, Torsten.