Max string length for DOpus.Output?

While debugging, I was trying to output stringified versions of fairly large objects with DOpus.Output(). Above a certain size the log refuses to print anything at all (not even a newline). The critical size seems to be somewhere around 2^16 characters. I'm not sure if that's a JScript/WSH restriction or something in DOpus and I couldn't find any details.

I'd like to test for this size and print something like "string too long". Therefore: What is the "official" size restriction for this method?

Thank you!

Yes the limit is 16384 chars including a null-terminator (so 16383).

Thanks for the quick reply, but... I'm currently cutting the strings off at 65000 characters and that seems to work fine. A miracle! :laughing: :man_shrugging: