# Debug with Editor

**URL:** <https://discourse.processing.org/t/debug-with-editor/25327>\
**Category:** Coding Questions\
**Created:** [November 10, 2020, 5:34pm UTC](https://discourse.processing.org/t/debug-with-editor/25327 "2020-11-10T17:34:26Z")\
**Posts on this page:** 1\
**Showing post:** 36

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [November 12, 2020, 12:39pm UTC](https://discourse.processing.org/t/debug-with-editor/25327/36 "2020-11-12T12:39:10Z")

</div>

> [@Toggle rulers in sketch processing 3.53](https://discourse.processing.org/t/toggle-rulers-in-sketch-processing-3-53/9474/5):
>
> here is a simple ruler Chrisir String helpText=""; void setup() { size(600, 800); background(255); } void draw() { background(255); showRuler(); } // --------------------------------------------------------------- void showRuler() { int fullLengthLine=28; // X-Ruler stroke(0, 0, 255); // BLUE fill(0, 0, 255); line(0, 0, width, 0); // if (false) for (int x=0; x\<=width; x+=50) { if (x%100==0) { // at 0, 100, 200, 300..... we show text and line …

---

_[View the full topic](https://discourse.processing.org/t/debug-with-editor/25327)._
