Enable and disable snapping to the line style features without changing the line style definition or disabling the view of the line styles (view attributes). This would make it easier to snap to what you want because It is not always easy to control the snap to the line style or line geometry. Currently, some turn off the line styles in view attributes to avoid problems.