Duet3D / DuetSoftwareFramework

Software framework for the next-generation Duet3D platform based on .NET
GNU General Public License v3.0
61 stars 28 forks source link

Pass line and column numbers to expression evaluation requests #195

Open chrishamm opened 9 months ago

chrishamm commented 9 months ago

At present, G-code exceptions from RRF may be inaccurate because the line number may not be set at the time a G-code exception is thrown. To fix this, DSF needs to pass the line number and ideally column of the expression start to evaluation requests. Also, I figure statements like echo line may be off. This is not the case if line is used in G-codes like M118 P{line} since binary G-codes already provide the line number.