What means "[...]" in the console output?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Felipe

I printed an array and I got this output “[…]”. The array is empty. But I have other empty array and the output was just “” (and that was what I was expecting). Why the console printed “[…]”?
Both arrays had elements and both was empted by removing one by one of its elements.

Maybe the output couldn’t be printed to the console. There are other ways of looking at the array at runtime. Try putting a breakpoint right after the statement. When the game is run, it will stop at that point, and you can look at the debugger pane for the contents of the array.

Ertain | 2021-09-24 06:55

Thanks for replying, Ertain. I tried to use breakpoint, but it seems that my array is empty (exactly what I expected). I take some screenshots:

The link: godot-forum hosted at ImgBB — ImgBB

I couldn’t attach here.

Felipe | 2021-09-24 17:58

:bust_in_silhouette: Reply From: skysphr

In the output console, [...] is normally not the result of printing an array, but instead an output overflow. In project settings > Network > Limits, you can set various limits for debugger stdout.

Thanks for replying, skysphr, but I don’t thik that is what is happening. I know about the console print overflow, but it looks like that the console is clean. So I think something else is going on, but don’t know what.

Felipe | 2021-09-24 17:43