I find Camotics useful for checking gcode https://camotics.org/