# Recurring bug in the debug section

**URL:** <https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970>\
**Category:** General\
**Created:** [15 May 2024 08:58 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970 "2024-05-15T08:58:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierredemay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pierredemay/32/90948_2.png) [@pierredemay](https://discourse.nodered.org/u/pierredemay)\
**Post date:** [15 May 2024 08:58 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/1 "2024-05-15T08:58:30Z")

</div>

Hello there,

I encounter a problem this days with the **debug messages section**.

The problem is, when I initialize my flow the objects that should appear in the debug section start to show but suddenly disappear.

[![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b049b2d664dc303f47dfa14a9111efbb43f8ac38.jpeg "Recurring bug in the debug section") ](https://www.youtube.com/watch?v=R66fuaFwINU)

I upload a short video to show you a demonstration. As you can see, the **objects totally disappear**...

If someone know a solution ? Thank you for reading.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [15 May 2024 09:02 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/2 "2024-05-15T09:02:09Z")

</div>

There is a finite shared buffer for ALL debug messages (to keep memory usage to a sensible level and to keep the editor as responsive as possible)

I suspect your other debugs are simply exhausting this shared buffer.

It is good practice to disable debug nodes when you are not debugging - since they generate LOTS of websocket traffic and too many can have an adverse affect of performance of the editor.

To prove this to yourself, try disabling all other debug nodes.

---

<div class="post-metadata">

**Author:** ![pierredemay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pierredemay/32/90948_2.png) [@pierredemay](https://discourse.nodered.org/u/pierredemay)\
**Post date:** [15 May 2024 09:07 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/3 "2024-05-15T09:07:05Z")

</div>

Thank you for your quick reply,

It's a good hypothesis but I tried it and it doesn't change anything, the objects appears while 1-2 secondes and disappear just as soon.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [15 May 2024 09:08 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/4 "2024-05-15T09:08:50Z")

</div>

Enable All nodes and double check there are no other debugs occurring

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/d/0d556135668fc8e46798019bb92200c1f0278fd9.png)

---

<div class="post-metadata">

**Author:** ![pierredemay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pierredemay/32/90948_2.png) [@pierredemay](https://discourse.nodered.org/u/pierredemay)\
**Post date:** [15 May 2024 09:13 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/5 "2024-05-15T09:13:58Z")

</div>

Apparently, when I enable all nodes, only one of my three debug nodes works :

![Capture d’écran 2024-05-15 à 11.10.30](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/2/c249cc0bf386268a3abac552796c3e49a4ff6894.png)

The two others don't show anything.

---

<div class="post-metadata">

**Author:** ![pierredemay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pierredemay/32/90948_2.png) [@pierredemay](https://discourse.nodered.org/u/pierredemay)\
**Post date:** [15 May 2024 12:56 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/6 "2024-05-15T12:56:17Z")

</div>

Finally, I find a solution.

In my opinion, unchecking debug nodes won't free the shared buffer.

For that, you need to disable the node by clicking on the small square right of the node :

![Capture d’écran 2024-05-15 à 14.46.06](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/1/61bc6c1dd345c1887355d41120d2e1ba8d60f9af.png)

I think unchecking the node in the "selected node" part will still load it, but will not display it. Whereas if the node is deactivated as shown above, nothing will be loaded.

This is just a hypothesis and if I'm wrong please don't hesitate to correct me. Thank you Steve 😉.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [15 May 2024 14:16 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/7 "2024-05-15T14:16:23Z")

</div>

> [@pierredemay](#):
>
> For that, you need to disable the node by clicking on the small square right of the node

Yup........

> [@Steve-Mcl](#):
>
> It is good practice to disable debug nodes when you are not debugging

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 May 2024 14:16 UTC](https://discourse.nodered.org/t/recurring-bug-in-the-debug-section/87970/8 "2024-05-29T14:16:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
